Analysis

  • max time kernel
    146s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    07-12-2024 18:27

General

  • Target

    2024-12-07_5142ee56e615a7f396f56d97f28d87ef_karagany_mafia.exe

  • Size

    15.0MB

  • MD5

    5142ee56e615a7f396f56d97f28d87ef

  • SHA1

    359af34bdc8073a6326d96208cb629a9120ccb3e

  • SHA256

    2edc2f82a1b10e3d2439c10ac90e8fb2a170840524cb5b04ef96b7ec4a7774d8

  • SHA512

    1d3e92fb559c4c25d878e94a882fb20d6dc683c647d51d51d49ebf9e1d0b1a68e1a191360f296fa32a35ed3e03524eb27281f854fa36d345d9d965e9c280bb73

  • SSDEEP

    6144:RXxZveEydmxZnXNMRaTuMUifWLKxNMMMMMMMbgb:RXzvvygxZnXxr+mxNMMMMMMMbg

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-12-07_5142ee56e615a7f396f56d97f28d87ef_karagany_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-07_5142ee56e615a7f396f56d97f28d87ef_karagany_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2516
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\aaybwiox\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:656
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vrlrxzri.exe" C:\Windows\SysWOW64\aaybwiox\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2924
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create aaybwiox binPath= "C:\Windows\SysWOW64\aaybwiox\vrlrxzri.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-07_5142ee56e615a7f396f56d97f28d87ef_karagany_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description aaybwiox "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start aaybwiox
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2896
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:2888
  • C:\Windows\SysWOW64\aaybwiox\vrlrxzri.exe
    C:\Windows\SysWOW64\aaybwiox\vrlrxzri.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-07_5142ee56e615a7f396f56d97f28d87ef_karagany_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2764
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2976

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\vrlrxzri.exe

    Filesize

    14.2MB

    MD5

    cac065c8785d833cc7b3cfabf07f91d3

    SHA1

    9e8f33fcc17be9f8bdee172bc0116a9671bfc015

    SHA256

    8a779ad7bb9a2134d14951bf3730e7773ba6d0ff75bd121d5da2fcc42b607e33

    SHA512

    0f0c8307273feafc133090bfde84cc6533a52cc4fc4be7ee5b6b907e57ec6cd2ff34aae0bac9d31a8cf90ecedd6c8550d65f4c57622b59815d4d375de3b68ef5

  • memory/2516-1-0x0000000000630000-0x0000000000730000-memory.dmp

    Filesize

    1024KB

  • memory/2516-3-0x0000000000400000-0x0000000000481000-memory.dmp

    Filesize

    516KB

  • memory/2516-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2516-9-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2516-8-0x0000000000400000-0x0000000000481000-memory.dmp

    Filesize

    516KB

  • memory/2764-17-0x0000000000400000-0x0000000000481000-memory.dmp

    Filesize

    516KB

  • memory/2976-14-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2976-16-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2976-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2976-11-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2976-18-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB