Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-02-2025 14:29

General

  • Target

    2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe

  • Size

    11.6MB

  • MD5

    baa3d4ecef961095880f238de0e0be22

  • SHA1

    c59ca1d96a298bb7cd32d8e74b5f0e6b9a8ec2c3

  • SHA256

    3731776b9bb93158e5eeaf11d9d13588fd9509d0879fad0fc6aff8a20c6ce6d2

  • SHA512

    9967fd6125d449931142378d77af25f8ef3edf7eab6341ecdef79ed6cb7c7395b216aa59768471dcd105150615e4f78239be45e4a7ba4dbed4ec2b524df08c75

  • SSDEEP

    49152:GqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:GqtYc3

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-07_baa3d4ecef961095880f238de0e0be22_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:412
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hpfxfhfz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3548
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hjekdqa.exe" C:\Windows\SysWOW64\hpfxfhfz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hpfxfhfz binPath= "C:\Windows\SysWOW64\hpfxfhfz\hjekdqa.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hpfxfhfz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hpfxfhfz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4872
    • 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:2000
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 412 -s 1232
      2⤵
      • Program crash
      PID:1880
  • C:\Windows\SysWOW64\hpfxfhfz\hjekdqa.exe
    C:\Windows\SysWOW64\hpfxfhfz\hjekdqa.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1108
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2728
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1108 -s 532
      2⤵
      • Program crash
      PID:1208
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 412 -ip 412
    1⤵
      PID:1348
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 1108 -ip 1108
      1⤵
        PID:1212

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.2MB

        MD5

        02577feabbae5a6cced18fe55be24b83

        SHA1

        375768302cfbf7082178ba7f02cb1589d4c52667

        SHA256

        ddf834663f80601bbcb921d17ef5904d405a28ff68fbf21ce521794c0f4a34f4

        SHA512

        77c634c4b339387c0c16bc69f3c49dc1b2fbae3bc1a2ef78153d2b316710f285345692b646a9da1f0e6da7c7f8d33c421134a8b6cfefca7c239f74ffbaf025e8

      • memory/412-1-0x0000000003060000-0x0000000003160000-memory.dmp

        Filesize

        1024KB

      • memory/412-2-0x0000000002EE0000-0x0000000002EF3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/412-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/412-12-0x0000000002EE0000-0x0000000002EF3000-memory.dmp

        Filesize

        76KB

      • memory/412-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/1108-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/2728-8-0x0000000001240000-0x0000000001255000-memory.dmp

        Filesize

        84KB

      • memory/2728-14-0x0000000001240000-0x0000000001255000-memory.dmp

        Filesize

        84KB

      • memory/2728-15-0x0000000001240000-0x0000000001255000-memory.dmp

        Filesize

        84KB