Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-12-2024 18:50

General

  • Target

    2024-12-19_6c561d7ee826330e51b8a80c25440437_mafia.exe

  • Size

    10.1MB

  • MD5

    6c561d7ee826330e51b8a80c25440437

  • SHA1

    8bcf90e5d52f4e388b2f4e18de7a2a2b6490640f

  • SHA256

    949c70d199e8ec085e4c0072157006721a0f435640dff45384dbe28d564a1893

  • SHA512

    61b743d97759cddcba92589ca934e8afe83f84521b4670e7c4bd29248ee3b3a2accf0055a5a9a23dfdb8a16df1856898af52ecdddbfa4ffb0bb1abf258d9c707

  • SSDEEP

    3072:ALBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:dOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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\2024-12-19_6c561d7ee826330e51b8a80c25440437_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-19_6c561d7ee826330e51b8a80c25440437_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:868
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lhkfqxp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2184
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\evdblgnb.exe" C:\Windows\SysWOW64\lhkfqxp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lhkfqxp binPath= "C:\Windows\SysWOW64\lhkfqxp\evdblgnb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-19_6c561d7ee826330e51b8a80c25440437_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lhkfqxp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lhkfqxp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3772
    • 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:4748
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 868 -s 1176
      2⤵
      • Program crash
      PID:3176
  • C:\Windows\SysWOW64\lhkfqxp\evdblgnb.exe
    C:\Windows\SysWOW64\lhkfqxp\evdblgnb.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-19_6c561d7ee826330e51b8a80c25440437_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3328
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1736
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3328 -s 512
      2⤵
      • Program crash
      PID:2952
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 868 -ip 868
    1⤵
      PID:4568
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3328 -ip 3328
      1⤵
        PID:3164

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.6MB

        MD5

        4f9d7d3b174f52ccc62f9d433049e58a

        SHA1

        d7d244d1fa6ec7edd1d0fed17443486a451bf55e

        SHA256

        e9fdd4c81468b6636cb8c6662d383be7152f5f6559d51ae37434cf4e1c6bea5d

        SHA512

        422099db8f0adf16faadd50f90c7aa183b1dd3c082ed50ee21a38b22648efe3c8ea381f3869b30a09188154416f56ecf59ef36d79f3e23859a2c718a821173db

      • memory/868-8-0x0000000000590000-0x00000000005A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/868-2-0x0000000000590000-0x00000000005A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/868-1-0x0000000000660000-0x0000000000760000-memory.dmp

        Filesize

        1024KB

      • memory/1736-14-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB

      • memory/1736-16-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB

      • memory/1736-17-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB