Analysis

  • max time kernel
    145s
  • 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
    28-01-2025 17:31

General

  • Target

    2025-01-28_48aef0f0988a64f18348e4b39346e2ac_mafia.exe

  • Size

    12.8MB

  • MD5

    48aef0f0988a64f18348e4b39346e2ac

  • SHA1

    0c97b84c07208aae8742fba4d6699185c19e247a

  • SHA256

    b473616b0f304d267ffb1744d642af6c12fe6de23156c7762c943d460dafd371

  • SHA512

    1554636eda69ba604915169212adb3d56bf634e5274e95a98d7df3b3426020a6437e9fd3ba36eefaf5bf93d682558ab03ea2fa1c01feb37ebf85a002c7760e67

  • SSDEEP

    24576:mpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttn:qoo

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-28_48aef0f0988a64f18348e4b39346e2ac_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_48aef0f0988a64f18348e4b39346e2ac_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3284
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kpjwnykc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3576
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sjrpzubp.exe" C:\Windows\SysWOW64\kpjwnykc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2932
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kpjwnykc binPath= "C:\Windows\SysWOW64\kpjwnykc\sjrpzubp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_48aef0f0988a64f18348e4b39346e2ac_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1004
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kpjwnykc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2788
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kpjwnykc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:636
    • 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:1372
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3284 -s 1044
      2⤵
      • Program crash
      PID:5032
  • C:\Windows\SysWOW64\kpjwnykc\sjrpzubp.exe
    C:\Windows\SysWOW64\kpjwnykc\sjrpzubp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_48aef0f0988a64f18348e4b39346e2ac_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:440
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4452
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 440 -s 516
      2⤵
      • Program crash
      PID:3820
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 3284 -ip 3284
    1⤵
      PID:2848
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 440 -ip 440
      1⤵
        PID:1716

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.4MB

        MD5

        e21ad4b455923ca31692e99b78795eca

        SHA1

        eaf5ccb585378def30dc82628831963b6ecc57bb

        SHA256

        759752cb2edef2be9bff26567639ce64b18ad79ca84ff73c52c55e8443e5dd02

        SHA512

        690858d620bebfc446056425ee74e0d583fa17526b2a302a073e669194e67a376292068a891083fd45e2442c04ec32e8d4e10bec60591060d7d626812732359d

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3284-1-0x0000000000470000-0x0000000000570000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

      • memory/4452-17-0x0000000000A70000-0x0000000000A85000-memory.dmp

        Filesize

        84KB

      • memory/4452-16-0x0000000000A70000-0x0000000000A85000-memory.dmp

        Filesize

        84KB

      • memory/4452-14-0x0000000000A70000-0x0000000000A85000-memory.dmp

        Filesize

        84KB