Analysis

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

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

General

  • Target

    2025-02-05_3636e5c97a13d71ac928ebc9953f2e42_mafia.exe

  • Size

    14.6MB

  • MD5

    3636e5c97a13d71ac928ebc9953f2e42

  • SHA1

    a2fd90570f9ba78949236d5b6fb54e34f5fedf11

  • SHA256

    35bdb69421abb26baf673435fc3c3675ea6a3f58ebbf88a2e0f4b669f9b3d4b4

  • SHA512

    fa2b2d0381fe3ed992a285f22b44c5df1f78bf12ef3120c7d8522bb347ec8af6c8f7b3e4a57f414d29e751d9a022d98c822b80cc6efd69d532eeb17f351cebf5

  • SSDEEP

    24576:ZpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttX:Doo

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.

  • Program crash 2 IoCs
  • 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-05_3636e5c97a13d71ac928ebc9953f2e42_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-05_3636e5c97a13d71ac928ebc9953f2e42_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3140
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jvjlukbh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1332
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kmfqxftj.exe" C:\Windows\SysWOW64\jvjlukbh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jvjlukbh binPath= "C:\Windows\SysWOW64\jvjlukbh\kmfqxftj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_3636e5c97a13d71ac928ebc9953f2e42_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1384
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jvjlukbh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2212
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jvjlukbh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2172
    • 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:1464
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3140 -s 1220
      2⤵
      • Program crash
      PID:4896
  • C:\Windows\SysWOW64\jvjlukbh\kmfqxftj.exe
    C:\Windows\SysWOW64\jvjlukbh\kmfqxftj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_3636e5c97a13d71ac928ebc9953f2e42_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4612
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3704
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4612 -s 508
      2⤵
      • Program crash
      PID:4380
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 3140 -ip 3140
    1⤵
      PID:3656
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 4612 -ip 4612
      1⤵
        PID:1844

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.6MB

        MD5

        047d22c334285b77b26ed7e9d2027344

        SHA1

        e08df0bc20aeeeb186afc968a98228f39bd757d3

        SHA256

        590b34c9dc7453ca793e2492c81876fd84a9a9347c2fa3816d9509ad7d50e01f

        SHA512

        00e7fe479adfacb82f38e7e71e3c3e4bfeecfbbe6d13978d380e3dfe9452f583207b7e394d73be9a4670eb4e8da8f13bf6998e9208955e50c3310edbd1bbee81

      • memory/3140-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3140-1-0x0000000000720000-0x0000000000820000-memory.dmp

        Filesize

        1024KB

      • memory/3140-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3140-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/3704-14-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

      • memory/3704-16-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

      • memory/3704-17-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

      • memory/4612-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4612-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4612-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4612-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB