Resources
Notes
Malware Development Life Cycle (MDLC)
- Design and scope - Define the behavior being studied, the lab environment, the target Windows version, the assumptions being made, and the security controls that will be observed. This stage should also define what is out of scope.
- Development - Build or refine the capability in small, testable components.
- Functional testing - Verify that the code behaves as expected in the lab. This includes debugging crashes, validating edge cases, and ensuring the tool does not unintentionally affect unrelated systems or data.
- Security control validation - Run the tool in a controlled environment with selected defensive controls enabled. Record what is blocked, logged, alerted on, or allowed. Cloud-connected features can behave differently from offline-only testing, so lab configuration and sample-handling rules must be understood before testing.
- Telemetry and IoC analysis - Analyze the generated indicators of compromise and behavioral telemetry. This can include files, hashes, imports, process trees, command lines, registry activity, memory permissions, network traffic, ETW events, Windows Event Logs, Defender events, Sysmon events, and EDR alerts.
- Refinement and documentation - Use the findings to improve the implementation, improve detection logic, or document the lesson learned. The result may be better code, a better detection rule, a clearer lab note, or a better understanding of why the behavior was detected.
