Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27-01-2025 11:07

General

  • Target

    2025-01-27_b6c4b7d510df5fadfb81ebb1348f930f_mafia.exe

  • Size

    14.9MB

  • MD5

    b6c4b7d510df5fadfb81ebb1348f930f

  • SHA1

    38db2673c1136571266d4c399205660bc13f5c9d

  • SHA256

    593365bbf1e3ac18c9b361d89c8d80471e90bc0606ccd0a02342b56b0129aee3

  • SHA512

    508ab1a9f384d77c9d80703e9966cc08e353ace669f84f72c74e49942a8bef94221f835d3ed04ebbf60930d68b3a8d7a4c523e1a44fd7bc391e86b15cadc703b

  • SSDEEP

    3072:sLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:JOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-27_b6c4b7d510df5fadfb81ebb1348f930f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-27_b6c4b7d510df5fadfb81ebb1348f930f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3368
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\akretvuz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3076
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xagapalr.exe" C:\Windows\SysWOW64\akretvuz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create akretvuz binPath= "C:\Windows\SysWOW64\akretvuz\xagapalr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-27_b6c4b7d510df5fadfb81ebb1348f930f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4288
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description akretvuz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2168
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start akretvuz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3944
    • 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:4380
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3368 -s 676
      2⤵
      • Program crash
      PID:3012
  • C:\Windows\SysWOW64\akretvuz\xagapalr.exe
    C:\Windows\SysWOW64\akretvuz\xagapalr.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-27_b6c4b7d510df5fadfb81ebb1348f930f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2696
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3160
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2696 -s 512
      2⤵
      • Program crash
      PID:3004
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3368 -ip 3368
    1⤵
      PID:1108
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 2696 -ip 2696
      1⤵
        PID:3048

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.3MB

        MD5

        9839ddb768984076cc3288fdf89b592b

        SHA1

        235ade3c3184ae3e6689ad4b19a7f6433761df1f

        SHA256

        d572ed05ce9db91049d3e0cd0d21666b172db1e20dbc05dc2748280f3baa5089

        SHA512

        ad4c7dae45e1eddbe8a0807bf5fc2b6df7725b7c718619f8deb336c9c6a61580ac9bf3781295625e440d4db44ad9f3ed0fb6a042e0b03ba3b711e999aedc87f5

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3160-14-0x00000000001E0000-0x00000000001F5000-memory.dmp

        Filesize

        84KB

      • memory/3160-16-0x00000000001E0000-0x00000000001F5000-memory.dmp

        Filesize

        84KB

      • memory/3160-17-0x00000000001E0000-0x00000000001F5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3368-1-0x0000000000790000-0x0000000000890000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        76KB