-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
476 lines (457 loc) · 22.1 KB
/
index.html
File metadata and controls
476 lines (457 loc) · 22.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Malware Database</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<style>
body {
transition: background-color 0.3s ease, color 0.3s ease;
}
.dark-mode {
background-color: #121212;
color: #f0f0f0;
}
.card {
transition: background-color 0.3s ease, color 0.3s ease;
}
.card.dark-mode {
background-color: #1e1e1e;
}
.table {
transition: background-color 0.3s ease, color 0.3s ease;
}
.table th, .table td {
transition: background-color 0.3s ease, color 0.3s ease;
}
.table th.dark-mode, .table td.dark-mode {
background-color: #2c2c2c;
color: #f0f0f0;
}
.mode-toggle {
position: fixed;
top: 20px;
right: 20px;
z-index: 1000;
}
.toggle-label {
font-weight: bold;
margin-right: 10px;
}
</style>
</head>
<body>
<div class="container mt-5">
<div class="mode-toggle">
<label class="toggle-label" for="darkModeToggle">Dark Mode</label>
<input type="checkbox" id="darkModeToggle">
</div>
<!-- Malicious DLLs and Windows API Functions -->
<div class="card mt-4">
<div class="card-header">
Malicious DLLs and Associated Windows API Functions
</div>
<div class="card-body">
<table class="table table-hover">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
<th>Common DLLs</th>
<th>Common Windows API Functions</th>
</tr>
</thead>
<tbody>
<tr>
<td>Spying</td>
<td>DLLs designed to monitor and collect information about user activities.</td>
<td>
<ul>
<li><code>user32.dll</code></li>
<li><code>advapi32.dll</code></li>
<li><code>kernel32.dll</code></li>
</ul>
</td>
<td>
<ul>
<li><code>SetWindowsHookEx</code> - Monitors input events like keystrokes.</li>
<li><code>GetForegroundWindow</code> - Retrieves the active window handle.</li>
<li><code>GetWindowText</code> - Captures the title of the active window.</li>
<li><code>ReadProcessMemory</code> - Extracts information from other processes.</li>
</ul>
</td>
</tr>
<tr>
<td>Enumeration</td>
<td>DLLs used to gather information about the system, network, or processes.</td>
<td>
<ul>
<li><code>netapi32.dll</code></li>
<li><code>iphlpapi.dll</code></li>
<li><code>kernel32.dll</code></li>
<li><code>ws2_32.dll</code></li>
</ul>
</td>
<td>
<ul>
<li><code>NetServerEnum</code> - Enumerates network servers.</li>
<li><code>EnumProcesses</code> - Lists all running processes.</li>
<li><code>GetSystemInfo</code> - Retrieves system hardware information.</li>
<li><code>GetAdaptersInfo</code> - Gathers network adapter details.</li>
<li><code>WNetOpenEnum</code> - Enumerates network resources.</li>
</ul>
</td>
</tr>
<tr>
<td>Process Injection</td>
<td>DLLs that inject code into other processes to execute malicious payloads.</td>
<td>
<ul>
<li><code>kernel32.dll</code></li>
<li><code>ntdll.dll</code></li>
</ul>
</td>
<td>
<ul>
<li><code>CreateRemoteThread</code> - Creates a thread in a remote process.</li>
<li><code>VirtualAllocEx</code> - Allocates memory in a remote process.</li>
<li><code>WriteProcessMemory</code> - Writes data into a remote process.</li>
<li><code>NtQueueApcThread</code> - Executes code in a remote thread.</li>
</ul>
</td>
</tr>
<tr>
<td>Internet Connection with C2</td>
<td>DLLs that establish connections with Command and Control (C2) servers.</td>
<td>
<ul>
<li><code>winhttp.dll</code></li>
<li><code>wininet.dll</code></li>
<li><code>ws2_32.dll</code></li>
</ul>
</td>
<td>
<ul>
<li><code>WinHttpOpen</code> - Initializes an HTTP request session.</li>
<li><code>InternetOpen</code> - Starts an Internet session.</li>
<li><code>InternetConnect</code> - Connects to an Internet server.</li>
<li><code>WSAStartup</code> - Initializes Winsock for network communication.</li>
</ul>
</td>
</tr>
<tr>
<td>Obfuscation</td>
<td>DLLs that use techniques to hide the true nature of their code.</td>
<td>
<ul>
<li><code>kernel32.dll</code></li>
<li><code>ntdll.dll</code></li>
</ul>
</td>
<td>
<ul>
<li><code>VirtualProtect</code> - Changes the protection on a region of memory.</li>
<li><code>RtlEncryptMemory</code> - Encrypts data in memory.</li>
<li><code>GetProcAddress</code> - Retrieves the address of an exported function from a DLL.</li>
</ul>
</td>
</tr>
<tr>
<td>Encryption</td>
<td>DLLs that encrypt or decrypt data for secure communication.</td>
<td>
<ul>
<li><code>crypt32.dll</code></li>
<li><code>advapi32.dll</code></li>
</ul>
</td>
<td>
<ul>
<li><code>CryptEncrypt</code> - Encrypts data.</li>
<li><code>CryptDecrypt</code> - Decrypts data.</li>
<li><code>CryptProtectData</code> - Protects data with encryption.</li>
<li><code>CryptUnprotectData</code> - Decrypts data that was encrypted using CryptProtectData.</li>
</ul>
</td>
</tr>
<tr>
<td>Dropper</td>
<td>DLLs that deploy additional malicious payloads onto the system.</td>
<td>
<ul>
<li><code>kernel32.dll</code></li>
<li><code>shell32.dll</code></li>
</ul>
</td>
<td>
<ul>
<li><code>CreateProcess</code> - Creates a new process and its primary thread.</li>
<li><code>ShellExecute</code> - Launches an application.</li>
<li><code>WriteFile</code> - Writes data to a file.</li>
<li><code>CopyFile</code> - Copies an existing file to a new file.</li>
</ul>
</td>
</tr>
<tr>
<td>File Writing</td>
<td>DLLs responsible for creating, modifying, or deleting files.</td>
<td>
<ul>
<li><code>kernel32.dll</code></li>
<li><code>advapi32.dll</code></li>
</ul>
</td>
<td>
<ul>
<li><code>CreateFile</code> - Creates or opens a file or I/O device.</li>
<li><code>WriteFile</code> - Writes data to a file.</li>
<li><code>DeleteFile</code> - Deletes an existing file.</li>
<li><code>MoveFile</code> - Moves an existing file or a directory.</li>
</ul>
</td>
</tr>
<tr>
<td>Registry Manipulation</td>
<td>DLLs that alter the Windows Registry to achieve persistence or other goals.</td>
<td>
<ul>
<li><code>advapi32.dll</code></li>
</ul>
</td>
<td>
<ul>
<li><code>RegCreateKeyEx</code> - Creates or opens a registry key.</li>
<li><code>RegSetValueEx</code> - Sets the data for a specified registry key value.</li>
<li><code>RegDeleteKey</code> - Deletes a specified registry key.</li>
<li><code>RegQueryValueEx</code> - Retrieves the data for a specified registry key value.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- PE Sections -->
<div class="card mt-4">
<div class="card-header">
PE Sections
</div>
<div class="card-body">
<table class="table table-hover">
<thead>
<tr>
<th>Section Name</th>
<th>Description</th>
<th>Contains Executable Code?</th>
</tr>
</thead>
<tbody>
<tr>
<td>.text</td>
<td>Contains the executable code for the application.</td>
<td>Yes</td>
</tr>
<tr>
<td>.data</td>
<td>Contains initialized data such as global variables.</td>
<td>No</td>
</tr>
<tr>
<td>.rdata</td>
<td>Contains read-only data like constants and import tables.</td>
<td>No</td>
</tr>
<tr>
<td>.rsrc</td>
<td>Contains resources such as icons, images, menus.</td>
<td>No</td>
</tr>
<tr>
<td>.bss</td>
<td>Contains uninitialized data, typically zero-initialized variables.</td>
<td>No</td>
</tr>
<tr>
<td>.edata</td>
<td>Contains export data, such as function names exported by the module.</td>
<td>No</td>
</tr>
<tr>
<td>.idata</td>
<td>Contains import data, such as function names imported by the module.</td>
<td>No</td>
</tr>
<tr>
<td>.reloc</td>
<td>Contains relocation information used for address correction.</td>
<td>No</td>
</tr>
<tr>
<td>.pdata</td>
<td>Contains exception handling data for the program.</td>
<td>No</td>
</tr>
<tr>
<td>.rsrc</td>
<td>Contains resources for the application like icons and strings.</td>
<td>No</td>
</tr>
<tr>
<td>.overlay</td>
<td>Custom section often used by packers or protection schemes.</td>
<td>Yes</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Memory Forensics -->
<div class="card mt-4">
<div class="card-header">
Memory Forensics
</div>
<div class="card-body">
<table class="table table-hover">
<thead>
<tr>
<th>Process</th>
<th>Description</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<tr>
<td>svchost.exe</td>
<td>Generic host process for services that run from DLLs.</td>
<td>Multiple instances are normal, but suspicious if running from unusual paths.</td>
</tr>
<tr>
<td>csrss.exe</td>
<td>Client/Server Runtime Subsystem, handles windows and threads.</td>
<td>Should have only one instance running per session.</td>
</tr>
<tr>
<td>winlogon.exe</td>
<td>Handles the login and logout procedures for Windows.</td>
<td>Should only have one instance running.</td>
</tr>
<tr>
<td>lsass.exe</td>
<td>Local Security Authority Subsystem Service, handles security policies.</td>
<td>Should only have one instance running.</td>
</tr>
<tr>
<td>explorer.exe</td>
<td>Windows Explorer, provides the user interface for Windows.</td>
<td>Should only have one instance running per user session.</td>
</tr>
<tr>
<td>smss.exe</td>
<td>Session Manager Subsystem, responsible for session creation and management.</td>
<td>Should only have one instance running per session.</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Encryption, Encoding, and Obfuscation Techniques -->
<div class="card mt-4">
<div class="card-header">
Encryption, Encoding, and Obfuscation Techniques
</div>
<div class="card-body">
<table class="table table-hover">
<thead>
<tr>
<th>Technique</th>
<th>Description</th>
<th>Common Algorithms</th>
<th>Usage in Malware</th>
</tr>
</thead>
<tbody>
<tr>
<td>Encryption</td>
<td>Converts plaintext into ciphertext to secure data.</td>
<td>
<ul>
<li>AES</li>
<li>RSA</li>
<li>DES</li>
</ul>
</td>
<td>
<ul>
<li>Encrypting C2 communications</li>
<li>Encrypting payloads before dropping</li>
</ul>
</td>
</tr>
<tr>
<td>Encoding</td>
<td>Converts data into a different format using a scheme.</td>
<td>
<ul>
<li>Base64</li>
<li>URL Encoding</li>
<li>Hex Encoding</li>
</ul>
</td>
<td>
<ul>
<li>Obfuscating malicious scripts</li>
<li>Hiding strings in binaries</li>
</ul>
</td>
</tr>
<tr>
<td>Obfuscation</td>
<td>Hides the true purpose of code by making it difficult to understand.</td>
<td>
<ul>
<li>Control Flow Obfuscation</li>
<li>String Obfuscation</li>
<li>Code Flattening</li>
</ul>
</td>
<td>
<ul>
<li>Hiding malicious intent in code</li>
<li>Bypassing static analysis</li>
</ul>
</td>
</tr>
<tr>
<td>Packing</td>
<td>Compresses or encrypts the executable to evade detection.</td>
<td>
<ul>
<li>UPX</li>
<li>PECompact</li>
<li>ASPack</li>
</ul>
</td>
<td>
<ul>
<li>Evading signature-based detection</li>
<li>Making reverse engineering difficult</li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<script>
const toggle = document.getElementById('darkModeToggle');
toggle.addEventListener('change', () => {
document.body.classList.toggle('dark-mode');
document.querySelectorAll('.card, .table th, .table td').forEach(el => {
el.classList.toggle('dark-mode');
});
});
</script>
</body>
</html>