Analysis

  • max time kernel
    149s
  • max time network
    128s
  • 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 03:24

General

  • Target

    2025-02-03_20f960c675cadf03a205fc0dbdac4140_mafia.exe

  • Size

    12.5MB

  • MD5

    20f960c675cadf03a205fc0dbdac4140

  • SHA1

    cb72aabfde6377b55fd959f03d12a64cd0ce4b1a

  • SHA256

    16c9ee84cdf7aedda3f07d8899c88dd2cd10317df727544ce2a8cef537991d55

  • SHA512

    dc81b08e0d5c90db19940c8161ea693b98b1d4419c2519643acd61939be37ea122962d8ed9bbac1d521a8af2d254b5ee760e31baeb8f9e29074eaf89c49ef463

  • SSDEEP

    24576:MpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttE:oooG

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_20f960c675cadf03a205fc0dbdac4140_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_20f960c675cadf03a205fc0dbdac4140_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2868
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zpfdwtnn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3184
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dpocnxfz.exe" C:\Windows\SysWOW64\zpfdwtnn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:448
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zpfdwtnn binPath= "C:\Windows\SysWOW64\zpfdwtnn\dpocnxfz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_20f960c675cadf03a205fc0dbdac4140_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3140
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zpfdwtnn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5100
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zpfdwtnn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2984
    • 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:3928
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2868 -s 1220
      2⤵
      • Program crash
      PID:4036
  • C:\Windows\SysWOW64\zpfdwtnn\dpocnxfz.exe
    C:\Windows\SysWOW64\zpfdwtnn\dpocnxfz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_20f960c675cadf03a205fc0dbdac4140_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3936
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2356
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3936 -s 512
      2⤵
      • Program crash
      PID:740
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 2868 -ip 2868
    1⤵
      PID:912
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 3936 -ip 3936
      1⤵
        PID:3252

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.6MB

        MD5

        b2c46133928896c978da41be182efafc

        SHA1

        05d72da7130db288bdde7c7026c237368a129f84

        SHA256

        7a7ebe85f9444999f8103590a01114be5689380224af6b81fccbdfb2a103d758

        SHA512

        e5d2e8efd9af9fc70124adb397441c33ff99ba6b6c106e01e492a4e45b79ddff197ee73d814611990676e450514815fe979d2c4021db9414b312a6f413a5cbbf

      • memory/2356-14-0x00000000012A0000-0x00000000012B5000-memory.dmp

        Filesize

        84KB

      • memory/2356-17-0x00000000012A0000-0x00000000012B5000-memory.dmp

        Filesize

        84KB

      • memory/2356-16-0x00000000012A0000-0x00000000012B5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2868-1-0x0000000000640000-0x0000000000740000-memory.dmp

        Filesize

        1024KB

      • memory/2868-8-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2868-2-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB