Krane
Techniques & procedures
17 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
1 technique
Reconnaissance
The script will then launch the boner executable, which is a banner grabber program, and grabs the banner response from TCP port 22
Execution
3 techniques
Execution
it also has an interesting combination of Bash and Python scripts to propagate and move laterally to infect vulnerable hosts.
send_vuln.py: The send_vuln.py file calls the k_config.json file and parses it.
Later, we captured a new variant of the downloader script, which not only checks for the available processing units, but also checks whether libssh-4 library is installed on system.
Persistence
1 technique
Persistence
Based on the current user’s privilege level, a new, hardcoded password is set for the user account.
Stealth
4 techniques
Stealth
Deletes log files like lastlog, bash_history, messages, utmp and wtmp to hide its activities
nohup watch -n 3 sh /tmp/.ssh/a &
based on the output of the nproc environmental variable, it will pull either the road campaign or the runner campaign.
Later, we captured a new variant of the downloader script, which not only checks for the available processing units, but also checks whether libssh-4 library is installed on system.
Defense Impairment
1 technique
Defense Impairment
Deletes log files like lastlog, bash_history, messages, utmp and wtmp to hide its activities
Credential Access
1 technique
Credential Access
The initial vector of entry was a brute-forced SSH login.
Discovery
3 techniques
Discovery
After that, a random IP subnet is generated by using the value gained from /proc/sys/kernel/random/uuid and gets scanned for open TCP port 22.
Checks for competing botnets and cryptominers, kills their processes
based on the output of the nproc environmental variable, it will pull either the road campaign or the runner campaign.
Lateral Movement
2 techniques
Lateral Movement
Brute-forces credentials to enter SSH
After a successful login to a vulnerable host, main makes sure to download either the archive packages to the target machine and starts the whole infection chain.
Command and Control
1 technique
Command and Control
Uses curl and wget to grab second stage payloads
Exfiltration
1 technique
Exfiltration
The IP address and port found in that JSON file will serve as the C2 server to which the results – the list of vulnerable hosts – are sent to.
Impact
1 technique
Impact
Deploys XMRig cryptominer
Observables
77 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.