Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26-01-2025 18:31

General

  • Target

    2025-01-26_7ca394a6c3fb23cf15f764ea44959924_mafia.exe

  • Size

    13.0MB

  • MD5

    7ca394a6c3fb23cf15f764ea44959924

  • SHA1

    489dc2c85200cd32d3a87c7c2d52710a770bf359

  • SHA256

    9574a9f69ddd18f7857877c02cc38a6ac7f5a227f678c7510973921f9c621420

  • SHA512

    bbf01aa88235c59d9a5e15ea063554ea4bf370b215939d88f56bd935506a3c196468512a783b87abe0ebd6caa2048ec27af38413f7a419262b15a36bc2c10951

  • SSDEEP

    24576:FEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZn:Ofot

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-26_7ca394a6c3fb23cf15f764ea44959924_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-26_7ca394a6c3fb23cf15f764ea44959924_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3424
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hvnrjqyf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4360
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\owlpcajj.exe" C:\Windows\SysWOW64\hvnrjqyf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hvnrjqyf binPath= "C:\Windows\SysWOW64\hvnrjqyf\owlpcajj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-26_7ca394a6c3fb23cf15f764ea44959924_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hvnrjqyf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2632
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hvnrjqyf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4856
    • 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:2980
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3424 -s 1184
      2⤵
      • Program crash
      PID:2212
  • C:\Windows\SysWOW64\hvnrjqyf\owlpcajj.exe
    C:\Windows\SysWOW64\hvnrjqyf\owlpcajj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-26_7ca394a6c3fb23cf15f764ea44959924_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2652
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4456
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2652 -s 508
      2⤵
      • Program crash
      PID:2388
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3424 -ip 3424
    1⤵
      PID:444
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2652 -ip 2652
      1⤵
        PID:404

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        e4024f7392686e1bf44a86902aeea5e5

        SHA1

        a40dde8f0cab225c453563ed23dc07b811c537e5

        SHA256

        0dcc18843b5168275a859f108b5e2fb91d1f13b5ae15abffa2b5c1b45fecce0a

        SHA512

        a016df495e7d98e9467dc90c98e9497c962bf1a9f2063b1f1b3f8274c8b00535edae4367c472e741c1f2a848f3957e11dc667cadc3fdc6c5da9509343fff1aa7

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3424-2-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/3424-8-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3424-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

        Filesize

        1024KB

      • memory/4456-14-0x00000000004B0000-0x00000000004C5000-memory.dmp

        Filesize

        84KB

      • memory/4456-16-0x00000000004B0000-0x00000000004C5000-memory.dmp

        Filesize

        84KB

      • memory/4456-17-0x00000000004B0000-0x00000000004C5000-memory.dmp

        Filesize

        84KB