Analysis

  • max time kernel
    147s
  • max time network
    145s
  • 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 22:09

General

  • Target

    2025-01-21_6a397c7bc04ae63117f5925e9b9fd54f_mafia.exe

  • Size

    12.9MB

  • MD5

    6a397c7bc04ae63117f5925e9b9fd54f

  • SHA1

    940657256af629fa51b70bc05779ef0976c63637

  • SHA256

    23be3499b2b9a7e01237488f80243a36b9be5d528a0ec85a717cd4b0104ddbe8

  • SHA512

    4dfb4f3e74ed91757bed613051d5cca3ed2b844e0eb72aa074d8540c01711d18e6707c93d5245f0bc685a2f6b5c3f5af1b75b0df38298f79b3e39312260eac83

  • SSDEEP

    24576:WEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZT:Pfot

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_6a397c7bc04ae63117f5925e9b9fd54f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-21_6a397c7bc04ae63117f5925e9b9fd54f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4732
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eixxthj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cwwnyhya.exe" C:\Windows\SysWOW64\eixxthj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3584
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create eixxthj binPath= "C:\Windows\SysWOW64\eixxthj\cwwnyhya.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_6a397c7bc04ae63117f5925e9b9fd54f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description eixxthj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:60
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start eixxthj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3132
    • 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:5116
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4732 -s 1200
      2⤵
      • Program crash
      PID:2056
  • C:\Windows\SysWOW64\eixxthj\cwwnyhya.exe
    C:\Windows\SysWOW64\eixxthj\cwwnyhya.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_6a397c7bc04ae63117f5925e9b9fd54f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2104
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2812
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2104 -s 512
      2⤵
      • Program crash
      PID:5112
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4732 -ip 4732
    1⤵
      PID:5012
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2104 -ip 2104
      1⤵
        PID:2960

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.8MB

        MD5

        73772d05117227fc1e44335763fff970

        SHA1

        b96cd576bf8bd3d8c43a6db5c6efcc320cd703d0

        SHA256

        8368f1ab79fc278fd67f0d9df6fa51dec38029a7ba1b9cca5c00d26cc13bda21

        SHA512

        8ff32842ada8e19f7decbefb512d398cf8ffb3c7d7bf63b6c982465b30db6a1a539009d15bbcdbdfa7ce637b77994effd0017fb6806e75fdf742ad389e0e171c

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/2812-14-0x0000000000A50000-0x0000000000A65000-memory.dmp

        Filesize

        84KB

      • memory/2812-16-0x0000000000A50000-0x0000000000A65000-memory.dmp

        Filesize

        84KB

      • memory/2812-17-0x0000000000A50000-0x0000000000A65000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4732-2-0x0000000000870000-0x0000000000883000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4732-8-0x0000000000870000-0x0000000000883000-memory.dmp

        Filesize

        76KB

      • memory/4732-1-0x0000000000450000-0x0000000000550000-memory.dmp

        Filesize

        1024KB