Table of Content of Srs Document
Table of Content of Srs Document
HP-ay516tx
RAM: 12 GB
-> Software:
CodeBlocks
GNU-GCC11 Compiler
Microsoft PowerShell
-> Study:
Hooks
KeyboardDLL
VK_Keys
C++11 Functions
Base64 Algorithm
Encryption and Decryption using SALTS
Window Header File
PowerShell Script
HEADER FILES:
1. Helper.h:
This header file was created by the developer. It creates the logs as
the program perfoms in backend. It creates the Applog and also the
encrypted file. This also takes system current date and time and
attaches it with the log file.
2. KeyConstant.h:
This header file was created by the developer. In this Header File
the keys are defined using the vk key constant as defined in
widows. This uses maps to store the key and its hex value that
determines which key is pressed.
3. Timer.h:
This header file was created by the developer. This Header File sets
the timer to send the E-Mail and to create the applog. We can
define a set time interval after every which a mail will be sent to
given email id.
4. Base64.h:
This header file was created by the developer. In this Header File
the pressed key is converted into an encrypted form using Base64
algorithm. Custom SALTS are used in the encryption process
so that any BASE64 Decrypter would not be able to decrypt it
except the decrypter made by the developer.
5. IO.h:
This header file was created by the developer. This Header File is
used to write the Encrypted Text into the Applog File in the path
specified by the developer.
6. SendMail.h:
This header file was created by the developer. This Header File
sends the Encrypted File to the Developer on the specified Email
Address and it also captions the decryped text. If the mail sending
fails, an error is recorded in the applog file. This uses a PowerShell
script to stores sender ID, Password and also the receivers ID. This
power Shell Script stores the code that enables the device to send
the mail automatically after every set interval.
7. KeybHook.h:
This header file was created by the developer. This header file was
used to accept the keystroke as input from the user and find the hex
code of the keystroke from the KeyConstant.h and then send the
hex code for encryption and store it in the applog. If fails to do so
the error is recorded in the log file.
Main.cpp:
This method was created to combine all the header file and also start the process
of keylogger in the backend without initiating any message or dialog box.
Decryption:
This file was created by the developer. This file was based on base64 algorithm
where the SALTS added during encryption were removed and the letters were
decrypted. The decryption was done using powershell window.