Analysis

  • max time kernel
    148s
  • max time network
    127s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-09-2024 06:28

General

  • Target

    2024-09-21_857c95c3ee1e86954bfbfc7e4d871caa_mafia.exe

  • Size

    11.3MB

  • MD5

    857c95c3ee1e86954bfbfc7e4d871caa

  • SHA1

    c8fcaceb46e37f229eb099064af340e1ebdda13a

  • SHA256

    6f5cadfef60d9b5e9ad27f6135b19280b0a4ffd8d07bf2f0a91314755659066b

  • SHA512

    ff5c7fcbfa3c4f0ad38a3dcadfd58441b2afc678a0459a876ec7a087af639bad9a02f5fd50dd07bf5b506b18ccf215017c23fd6643614ac906f2cd049793ac77

  • SSDEEP

    12288:1Vbj7zJB99tzBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBh:1JzXd

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.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-09-21_857c95c3ee1e86954bfbfc7e4d871caa_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-09-21_857c95c3ee1e86954bfbfc7e4d871caa_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5096
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\moglybce\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2940
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xowuezgu.exe" C:\Windows\SysWOW64\moglybce\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:656
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create moglybce binPath= "C:\Windows\SysWOW64\moglybce\xowuezgu.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-09-21_857c95c3ee1e86954bfbfc7e4d871caa_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4192
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description moglybce "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4072
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start moglybce
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2156
    • 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:2300
  • C:\Windows\SysWOW64\moglybce\xowuezgu.exe
    C:\Windows\SysWOW64\moglybce\xowuezgu.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-09-21_857c95c3ee1e86954bfbfc7e4d871caa_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4720
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4508

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.5MB

    MD5

    3e53b8f0b439fa5dcce54a0a159b8c04

    SHA1

    d5e7428e0efe7b2bea11a07017368091839ff45e

    SHA256

    10cb8af8fea257d70327cd4117d26deb3f21253727fdbcb8cfb4cc812a493faa

    SHA512

    6f1bcb00133e1011f65e1b2bba0a25b51fcd82f4af403c8f566992e4efa7753b0cc64c825bff5b8983ad53b7ff62a16a160295f16c0eba548f9ad20d334cf83c

  • memory/4508-14-0x00000000009B0000-0x00000000009C5000-memory.dmp

    Filesize

    84KB

  • memory/4508-19-0x00000000009B0000-0x00000000009C5000-memory.dmp

    Filesize

    84KB

  • memory/4508-18-0x00000000009B0000-0x00000000009C5000-memory.dmp

    Filesize

    84KB

  • memory/4720-13-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/4720-12-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/4720-11-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/4720-16-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/5096-8-0x0000000000610000-0x0000000000623000-memory.dmp

    Filesize

    76KB

  • memory/5096-7-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/5096-1-0x00000000006D0000-0x00000000007D0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/5096-3-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/5096-2-0x0000000000610000-0x0000000000623000-memory.dmp

    Filesize

    76KB