Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-12-2024 05:12

General

  • Target

    JaffaCakes118_1891ac99238154818307b45371498641029362dfcc8fd34553814b2cc8e66ae7.exe

  • Size

    177KB

  • MD5

    6423f85e4b535c44776aef880d374f69

  • SHA1

    deda6c4c481520b746aadd6a2cd8d2a3b2ab7387

  • SHA256

    1891ac99238154818307b45371498641029362dfcc8fd34553814b2cc8e66ae7

  • SHA512

    67e9aeeb739a022bcdd246802b7c2aafbb68a5b34d2c47b34ba4463e12304a4452447a509ac4408d2e461f9e118f419c664db9004cb0656cb2e1e5eaf818436f

  • SSDEEP

    3072:M76gzl90ytyk8oeETSOZa30H3iVr8vYSfv5fo88STbR:6l90yYxnmgKiVroYSH537TbR

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.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\JaffaCakes118_1891ac99238154818307b45371498641029362dfcc8fd34553814b2cc8e66ae7.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1891ac99238154818307b45371498641029362dfcc8fd34553814b2cc8e66ae7.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1448
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nccunzji\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2192
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\awllqxdu.exe" C:\Windows\SysWOW64\nccunzji\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nccunzji binPath= "C:\Windows\SysWOW64\nccunzji\awllqxdu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1891ac99238154818307b45371498641029362dfcc8fd34553814b2cc8e66ae7.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4616
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nccunzji "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1532
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nccunzji
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1232
    • 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:4620
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1448 -s 1328
      2⤵
      • Program crash
      PID:1276
  • C:\Windows\SysWOW64\nccunzji\awllqxdu.exe
    C:\Windows\SysWOW64\nccunzji\awllqxdu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1891ac99238154818307b45371498641029362dfcc8fd34553814b2cc8e66ae7.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1968
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1868
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1968 -s 528
      2⤵
      • Program crash
      PID:3208
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1968 -ip 1968
    1⤵
      PID:2228
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 1448 -ip 1448
      1⤵
        PID:3736

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.2MB

        MD5

        675ab92ae36e197aca01bbc404f2a1cd

        SHA1

        658ea7cc44b15cc01a723d4c56cfad1f108cbdd6

        SHA256

        f6e451613956c18315468d576fc874f9b22cfb55d7de72a88cf28258bb2b0a4e

        SHA512

        49469641399ce3ab28770df0ece8a9fa003aa0b484176bdcc766c08d76f62a67de9695f863c8596c48c9a81d465e8b559b576a487370e8951a60e8d05d2503ff

      • memory/1448-0-0x0000000000510000-0x000000000051D000-memory.dmp

        Filesize

        52KB

      • memory/1448-1-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/1448-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1448-16-0x0000000000510000-0x000000000051D000-memory.dmp

        Filesize

        52KB

      • memory/1448-17-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/1448-18-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1448-15-0x0000000000400000-0x0000000000434000-memory.dmp

        Filesize

        208KB

      • memory/1868-12-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/1868-9-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/1868-19-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/1868-20-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/1868-21-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/1968-14-0x0000000000400000-0x0000000000434000-memory.dmp

        Filesize

        208KB

      • memory/1968-7-0x0000000000400000-0x0000000000434000-memory.dmp

        Filesize

        208KB

      • memory/1968-8-0x0000000000400000-0x0000000000434000-memory.dmp

        Filesize

        208KB

      • memory/1968-6-0x0000000000400000-0x0000000000434000-memory.dmp

        Filesize

        208KB