Analysis

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

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

General

  • Target

    2025-01-19_049e91393f95c286773971ebcecdaf89_mafia.exe

  • Size

    13.3MB

  • MD5

    049e91393f95c286773971ebcecdaf89

  • SHA1

    a40a8fd1a9e080138d86a76dc09acef57d3abb7c

  • SHA256

    d6b1897866052579df5ab6d4eeac748961ebc9f97dd077fb81dd2f832c0a913c

  • SHA512

    c698f625bce9c18e648d777254c3601da63666e324f87d804298ee39d5466d6c4946dc8a5940bef2a76cf62ebf1c6b8ed7f87998db6fe217f14719f4ad39e830

  • SSDEEP

    24576:WpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttX:aoo

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-01-19_049e91393f95c286773971ebcecdaf89_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-19_049e91393f95c286773971ebcecdaf89_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4496
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\folejsjt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3784
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nemkupwk.exe" C:\Windows\SysWOW64\folejsjt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4244
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create folejsjt binPath= "C:\Windows\SysWOW64\folejsjt\nemkupwk.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-19_049e91393f95c286773971ebcecdaf89_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3312
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description folejsjt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1656
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start folejsjt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2980
    • 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:788
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4496 -s 572
      2⤵
      • Program crash
      PID:2560
  • C:\Windows\SysWOW64\folejsjt\nemkupwk.exe
    C:\Windows\SysWOW64\folejsjt\nemkupwk.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-19_049e91393f95c286773971ebcecdaf89_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3176
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4104
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3176 -s 556
      2⤵
      • Program crash
      PID:1804
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4496 -ip 4496
    1⤵
      PID:3192
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 560 -p 3176 -ip 3176
      1⤵
        PID:4536

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.5MB

        MD5

        6bf0ca3d8d075bf0e8be0f3ce58d2602

        SHA1

        ae59b75b0bf338a9c2d7683e02f667311e1b01be

        SHA256

        0321b336acf5578881fa1cb4ebe016e3a1dd28d1726a92cde9d6c69a3eaf2784

        SHA512

        b9aa8cb66dbc95146a56e1d1eac78644dc5baf55688fe6c6244109b40705e7413923efd45bce5ac495d7edccf75c0f61d75bec974261c7a58dd53b65ac36e320

      • memory/3176-8-0x00007FFDAB930000-0x00007FFDABB25000-memory.dmp

        Filesize

        2.0MB

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

        Filesize

        312KB

      • memory/4104-9-0x0000000000A10000-0x0000000000A25000-memory.dmp

        Filesize

        84KB

      • memory/4104-11-0x0000000000A10000-0x0000000000A25000-memory.dmp

        Filesize

        84KB

      • memory/4104-12-0x0000000000A10000-0x0000000000A25000-memory.dmp

        Filesize

        84KB

      • memory/4496-1-0x00007FFDAB930000-0x00007FFDABB25000-memory.dmp

        Filesize

        2.0MB

      • memory/4496-5-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4496-6-0x00007FFDAB930000-0x00007FFDABB25000-memory.dmp

        Filesize

        2.0MB