Exploring common behavioral patterns
Generally, all malware of the same type shares similar needs regardless of the platform, mainly the following:
- It needs to get into the target system.
- In many cases, it may want to achieve persistence in order to survive the reboot.
- It may need to get a higher level of privileges, for example, to achieve system-wide persistence or to get access to valuable data.
- In many cases, it needs to communicate with the remote system (C&C) in order to do some of the following:
- Get commands.
- Get new configurations.
- Get self-updates, as well as additional payloads.
- Upload responses, collected information, and files of interest.
- It needs to actually achieve what it was actually created for.
- In many cases, it may want to protect itself from being detected or analyzed.
Some malware families behave as worms do, aiming to penetrate deeper into reached networks; this behavior is commonly called lateral movement.
The implementation...