Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-01-2025 23:33

General

  • Target

    2025-01-21_eaaa33fba165a45395a43fc7ec05b1bc_mafia.exe

  • Size

    14.6MB

  • MD5

    eaaa33fba165a45395a43fc7ec05b1bc

  • SHA1

    4ab77efaa1c8ad37cd8c605fb684d467f06d0db4

  • SHA256

    14eb214a2f3fb3385fdc544cfeda6fbcccab2af6728b58683f53a597b9260e6d

  • SHA512

    7d01895d08632def6e9d8bdbdedee9853be716c03b20be6b296ad1141c442d461d5f5c83fc4ef7def960bb6cf357d8848d3148ee38c4af60bc53fd3dac625e14

  • SSDEEP

    24576:cEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZl:Zfot

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-21_eaaa33fba165a45395a43fc7ec05b1bc_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-21_eaaa33fba165a45395a43fc7ec05b1bc_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4076
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lbrtkqek\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2780
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eyypajac.exe" C:\Windows\SysWOW64\lbrtkqek\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:564
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lbrtkqek binPath= "C:\Windows\SysWOW64\lbrtkqek\eyypajac.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_eaaa33fba165a45395a43fc7ec05b1bc_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1536
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lbrtkqek "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4524
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lbrtkqek
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4124
    • 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:1684
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4076 -s 648
      2⤵
      • Program crash
      PID:660
  • C:\Windows\SysWOW64\lbrtkqek\eyypajac.exe
    C:\Windows\SysWOW64\lbrtkqek\eyypajac.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_eaaa33fba165a45395a43fc7ec05b1bc_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2420
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2020
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2420 -s 528
      2⤵
      • Program crash
      PID:3480
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4076 -ip 4076
    1⤵
      PID:964
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 2420 -ip 2420
      1⤵
        PID:2892

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        ed0c776d01fd031e3b6b6def7c473471

        SHA1

        36d1b59c5c2f319cc2ae04e094766b82b6f9cf29

        SHA256

        2bb674cc5ae07a23ad1ac5eb37045c80cde76022c508978a64f733cf0ca1f563

        SHA512

        4c257c50613de1a917ca4f57ab243fffdacbd00e5e3eec2b1dd84bffd938d5f6f267c3d3062b5943f11fc91daf4c93520cf5aad9d09be4a744534adfbc0c2dab

      • memory/2020-14-0x0000000000720000-0x0000000000735000-memory.dmp

        Filesize

        84KB

      • memory/2020-17-0x0000000000720000-0x0000000000735000-memory.dmp

        Filesize

        84KB

      • memory/2020-16-0x0000000000720000-0x0000000000735000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4076-8-0x0000000000450000-0x0000000000463000-memory.dmp

        Filesize

        76KB

      • memory/4076-1-0x0000000000480000-0x0000000000580000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4076-2-0x0000000000450000-0x0000000000463000-memory.dmp

        Filesize

        76KB