Analysis

  • max time kernel
    147s
  • 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
    30/01/2025, 22:05

General

  • Target

    2025-01-30_01ce0b7b263a7b88ed3337ec93dfbcda_mafia.exe

  • Size

    14.9MB

  • MD5

    01ce0b7b263a7b88ed3337ec93dfbcda

  • SHA1

    a2a8a7c25f8b7f07da55ef908564ed915f106e20

  • SHA256

    fa934669d49ba9f600ff6b424b2b52f5c6db653a8f5044e003939630ec21edaf

  • SHA512

    ce6130a1eb3e216ea52a0b5138e4cf616e97de0f498e60ee61880894c358f68dd304bde9fb7d6a9211b0be34c9fc5bfe9005726cda988bd59f9fbcad4d3653e8

  • SSDEEP

    3072:LLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/v:yOMdRQr7OB0ypmMXnl8XEPM3noSWOCu

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-30_01ce0b7b263a7b88ed3337ec93dfbcda_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_01ce0b7b263a7b88ed3337ec93dfbcda_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1568
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uktkssyj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1944
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fncgtraa.exe" C:\Windows\SysWOW64\uktkssyj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3452
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uktkssyj binPath= "C:\Windows\SysWOW64\uktkssyj\fncgtraa.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_01ce0b7b263a7b88ed3337ec93dfbcda_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5020
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uktkssyj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5060
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uktkssyj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4912
    • 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:2020
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1568 -s 1040
      2⤵
      • Program crash
      PID:2888
  • C:\Windows\SysWOW64\uktkssyj\fncgtraa.exe
    C:\Windows\SysWOW64\uktkssyj\fncgtraa.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_01ce0b7b263a7b88ed3337ec93dfbcda_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1220
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1596
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1220 -s 508
      2⤵
      • Program crash
      PID:3180
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 1568 -ip 1568
    1⤵
      PID:4920
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 1220 -ip 1220
      1⤵
        PID:448

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.8MB

        MD5

        e33440ca4c2d69683703d6b52fee45ef

        SHA1

        864a81526837ee1de57982f88d98edc64fd98a3f

        SHA256

        248311132bc4014b89e718f553061e055d24cdc817c3f4a88dad6d55579d4169

        SHA512

        94e11273ea6f7ce19dab8be904fb4270397c7730744c854c5c96d7aae5458638de2457951fe63470525b8ce9893cb710bd6d7a302c244cf212a34eeb42395311

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/1568-1-0x0000000000790000-0x0000000000890000-memory.dmp

        Filesize

        1024KB

      • memory/1596-14-0x0000000000430000-0x0000000000445000-memory.dmp

        Filesize

        84KB

      • memory/1596-16-0x0000000000430000-0x0000000000445000-memory.dmp

        Filesize

        84KB

      • memory/1596-17-0x0000000000430000-0x0000000000445000-memory.dmp

        Filesize

        84KB