Analysis

  • max time kernel
    145s
  • max time network
    144s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-02-2025 20:05

General

  • Target

    2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe

  • Size

    14.9MB

  • MD5

    01bf0b9dde9e72ff9fb98366b844aee6

  • SHA1

    730f1ca9c44ca960abec545ea63a0e1242f4558b

  • SHA256

    d7e99265d57a9e1b7582848835b5c2e9b81d5118ab6a69cea1937bc045873991

  • SHA512

    7552af928706bf09c6156578367f33f3547fdf4943a2ee3f67ffbe761f62831871c2a89c4a3205be2d2db6a7b8c82b2ca770ab5a8c0141d1316ffcba265c38e2

  • SSDEEP

    393216:lXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXH:

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
  • 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\2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2216
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xwxgqawp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3664
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vhgufpxr.exe" C:\Windows\SysWOW64\xwxgqawp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4348
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xwxgqawp binPath= "C:\Windows\SysWOW64\xwxgqawp\vhgufpxr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3120
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xwxgqawp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4992
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xwxgqawp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3324
    • 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:4248
  • C:\Windows\SysWOW64\xwxgqawp\vhgufpxr.exe
    C:\Windows\SysWOW64\xwxgqawp\vhgufpxr.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3356
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3796

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.8MB

    MD5

    6bbb1b96d86b5e75210e072ff01b8743

    SHA1

    fdbf5e759bbd2a96907da7ac1f08594433257547

    SHA256

    1e2bb2ad1324bafac559c6fc1411ed67f9585733298f50ff71c224a115cd9806

    SHA512

    56e0db9658d72699713c9274b04610fcc80b21a64af13190512512d91e89bcd93d8fb4c08aac19b744348dbe752e2055d4923c56d39278f2c2c0a920bcc81c13

  • memory/2216-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2216-1-0x0000000000500000-0x0000000000600000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/2216-2-0x00000000001D0000-0x00000000001E3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    372KB

  • memory/2216-15-0x00000000001D0000-0x00000000001E3000-memory.dmp

    Filesize

    76KB

  • memory/3356-9-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    372KB

  • memory/3356-10-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/3356-19-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/3796-11-0x0000000000FA0000-0x0000000000FB5000-memory.dmp

    Filesize

    84KB

  • memory/3796-17-0x0000000000FA0000-0x0000000000FB5000-memory.dmp

    Filesize

    84KB

  • memory/3796-20-0x0000000000FA0000-0x0000000000FB5000-memory.dmp

    Filesize

    84KB

  • memory/3796-21-0x0000000000FA0000-0x0000000000FB5000-memory.dmp

    Filesize

    84KB

  • memory/3796-22-0x0000000000FA0000-0x0000000000FB5000-memory.dmp

    Filesize

    84KB