Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-02-2025 19:50

General

  • Target

    2025-02-01_0aa045fd7e868d2b897f7c7d49bd3da1_mafia.exe

  • Size

    14.1MB

  • MD5

    0aa045fd7e868d2b897f7c7d49bd3da1

  • SHA1

    3f32cac736e6fcc3ff4e9dbfbb2fabd1317d7fc2

  • SHA256

    432fa98f61def37c7834351b857e1775a33a94de164b7f94ec7320716daf0fa0

  • SHA512

    e25477ad497ccc470fd73a14d2212dad22c258f49e73b958baf0438b9e1b9e5f30027ce484dcb2534e582c9283a5bd8f2a2452786ea2a37ff0c56d8a2f7a9525

  • SSDEEP

    24576:dEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZP:Gfot

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-01_0aa045fd7e868d2b897f7c7d49bd3da1_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_0aa045fd7e868d2b897f7c7d49bd3da1_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2608
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zwssoper\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4588
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\arzxhcjx.exe" C:\Windows\SysWOW64\zwssoper\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1976
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zwssoper binPath= "C:\Windows\SysWOW64\zwssoper\arzxhcjx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_0aa045fd7e868d2b897f7c7d49bd3da1_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 zwssoper "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2428
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zwssoper
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3296
    • 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:3068
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2608 -s 580
      2⤵
      • Program crash
      PID:2932
  • C:\Windows\SysWOW64\zwssoper\arzxhcjx.exe
    C:\Windows\SysWOW64\zwssoper\arzxhcjx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_0aa045fd7e868d2b897f7c7d49bd3da1_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1532
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4804
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1532 -s 536
      2⤵
      • Program crash
      PID:836
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 2608 -ip 2608
    1⤵
      PID:4076
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 364 -p 1532 -ip 1532
      1⤵
        PID:3960

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.9MB

        MD5

        0695ef210e79ac4aed7e3e9e7abe5ffb

        SHA1

        b6233ddf5d3692719904a42fa3909c2b4e523b08

        SHA256

        54e8ba3dd9fb336958d2474aafe8061ff480044ac5a33c9e1c6eec1fe098a5b1

        SHA512

        ed54657911c09773c42944240ebda5387a0470122859d449e3437518cd8b027edfd0573c324eb48db4366a5cbeb3a5b0a90a9569e40e6702b950e4b18a1331a3

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2608-2-0x0000000000640000-0x0000000000653000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2608-8-0x0000000000640000-0x0000000000653000-memory.dmp

        Filesize

        76KB

      • memory/2608-1-0x0000000000670000-0x0000000000770000-memory.dmp

        Filesize

        1024KB

      • memory/4804-14-0x0000000001210000-0x0000000001225000-memory.dmp

        Filesize

        84KB

      • memory/4804-16-0x0000000001210000-0x0000000001225000-memory.dmp

        Filesize

        84KB

      • memory/4804-17-0x0000000001210000-0x0000000001225000-memory.dmp

        Filesize

        84KB