Analysis

  • max time kernel
    147s
  • max time network
    124s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    21-09-2024 01:25

General

  • Target

    2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe

  • Size

    14.5MB

  • MD5

    f178952f1644818d0c1e3e334b749c46

  • SHA1

    b650ad19d57033a81b344177935f447f08ab5bfe

  • SHA256

    df903842e22291df470826cae9a31ff44e2293ebd012c28a682f6ebfc214c1cd

  • SHA512

    3001563ad672b8c15304772002412556ba1644f0cc0fe1a983f14f4a213e90245e84fe261b1ad12c1be2c8674cf34bac92494226c7ef0d25290eee7d6079b149

  • SSDEEP

    12288:8Vbj7zJB99tzBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBJ:8JzXd

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.

  • 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-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2616
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nhtbvcke\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2716
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ytxpfqsq.exe" C:\Windows\SysWOW64\nhtbvcke\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2792
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nhtbvcke binPath= "C:\Windows\SysWOW64\nhtbvcke\ytxpfqsq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2776
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nhtbvcke "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2300
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nhtbvcke
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2660
    • 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:2520
  • C:\Windows\SysWOW64\nhtbvcke\ytxpfqsq.exe
    C:\Windows\SysWOW64\nhtbvcke\ytxpfqsq.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2636
    • 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:3048

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.2MB

    MD5

    95b009bb0c7d97dc75e4a76fd6772b7d

    SHA1

    c9cea34af4f37d26a182b5357929483b46bed843

    SHA256

    f2e7fb26d6c116a615e59264958c75aa2e1d2644aacaf9ecc31b21ba125bda69

    SHA512

    043e56994f0b5e995070194d74e8aeb6062594f2bf966cfe20880ae929fb254ac3b5381cd883885ef80ba709483403f6760dd596029d19f3be5c5c0e05c4095f

  • memory/2616-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

    Filesize

    1024KB

  • memory/2616-3-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2616-8-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/2636-15-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/3048-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/3048-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/3048-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/3048-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB