Analysis

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

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

General

  • Target

    2025-02-03_bf9e3969461987ba751e1cd8104054c8_mafia.exe

  • Size

    13.4MB

  • MD5

    bf9e3969461987ba751e1cd8104054c8

  • SHA1

    92f1e691dd55e2486cfebc15507a40b56f407e03

  • SHA256

    93cf22f3798685c367dee4bbf73edb52473d1e19571d9e0fda7012f169782311

  • SHA512

    21495707d2ff7dec300d69ff4f7149306f209252e04ae1bb04dc433d8586c4fcfd7bc564cc770f72ac92c931b1ba92a30cf5c9d13546a2fb65a0b616a66ebdf3

  • SSDEEP

    3072:1LBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:YOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-03_bf9e3969461987ba751e1cd8104054c8_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_bf9e3969461987ba751e1cd8104054c8_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4988
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uqpxgakp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3260
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hhitopnv.exe" C:\Windows\SysWOW64\uqpxgakp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1252
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uqpxgakp binPath= "C:\Windows\SysWOW64\uqpxgakp\hhitopnv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_bf9e3969461987ba751e1cd8104054c8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2396
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uqpxgakp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3992
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uqpxgakp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1184
    • 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:5084
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4988 -s 1040
      2⤵
      • Program crash
      PID:4036
  • C:\Windows\SysWOW64\uqpxgakp\hhitopnv.exe
    C:\Windows\SysWOW64\uqpxgakp\hhitopnv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_bf9e3969461987ba751e1cd8104054c8_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2256
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2296
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2256 -s 512
      2⤵
      • Program crash
      PID:2320
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4988 -ip 4988
    1⤵
      PID:4248
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 2256 -ip 2256
      1⤵
        PID:2912

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.8MB

        MD5

        6b613622637e939ab943b2aa4cab79b7

        SHA1

        16b67a87286358ca833faf94130c749b2e6aae7e

        SHA256

        b93fb0689b5b211a0f02dc44f1fa3a9da0e4047b8f72ddcd753d5bcf41f70479

        SHA512

        6f16d17512d65c41e095c87e19c1e81b724c40045649323454cd218355bb1d52c611805d439ce9d0e0ab1dc24d6e668818f2b01b5f83cf86d41cb645d31f2f9f

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

        Filesize

        312KB

      • memory/2256-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/2296-14-0x0000000000D50000-0x0000000000D65000-memory.dmp

        Filesize

        84KB

      • memory/2296-16-0x0000000000D50000-0x0000000000D65000-memory.dmp

        Filesize

        84KB

      • memory/2296-17-0x0000000000D50000-0x0000000000D65000-memory.dmp

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/4988-1-0x0000000000740000-0x0000000000840000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        76KB