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
    25-12-2024 02:46

General

  • Target

    JaffaCakes118_76e5de1e9ebafc1cd7480d3b6223e62cfe2e98a7e6a4afcd463af0f2b219c239.exe

  • Size

    159KB

  • MD5

    34f90b79823c2119291242a85372614c

  • SHA1

    a0a1e2ca7601fffa34ba6d0c9fe81214c7fd60f3

  • SHA256

    76e5de1e9ebafc1cd7480d3b6223e62cfe2e98a7e6a4afcd463af0f2b219c239

  • SHA512

    1047e34b82be935e77079aae9c761c78c9de56ba1003c4c9e891863dd3cc920bd67df5ab4df65f785b21644a493d260524f2557e9554094401b8cc8c8f786c5d

  • SSDEEP

    3072:f754OjNeZE6gjfPa2CAbQSi2sjnh3NnTNJSLZcY4N5FokL:FNeZE6gLJC+l32Nn1

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_76e5de1e9ebafc1cd7480d3b6223e62cfe2e98a7e6a4afcd463af0f2b219c239.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_76e5de1e9ebafc1cd7480d3b6223e62cfe2e98a7e6a4afcd463af0f2b219c239.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1788
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\apmdcqeo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3480
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\halbmjcv.exe" C:\Windows\SysWOW64\apmdcqeo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1748
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create apmdcqeo binPath= "C:\Windows\SysWOW64\apmdcqeo\halbmjcv.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_76e5de1e9ebafc1cd7480d3b6223e62cfe2e98a7e6a4afcd463af0f2b219c239.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1072
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description apmdcqeo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start apmdcqeo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1708
    • 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:5024
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1788 -s 1040
      2⤵
      • Program crash
      PID:776
  • C:\Windows\SysWOW64\apmdcqeo\halbmjcv.exe
    C:\Windows\SysWOW64\apmdcqeo\halbmjcv.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_76e5de1e9ebafc1cd7480d3b6223e62cfe2e98a7e6a4afcd463af0f2b219c239.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1812
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:212
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1812 -s 548
      2⤵
      • Program crash
      PID:1228
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 1788 -ip 1788
    1⤵
      PID:2016
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 1812 -ip 1812
      1⤵
        PID:2892

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        8829b24f0b5063b426c61dc58bc23a77

        SHA1

        349e0a2198dc83af2627e2736699a64c8a08faf3

        SHA256

        392312e300d27fbeb8842b3ac1b8583cf77bd63124beb2a3df8c97c12f58fa4e

        SHA512

        17458ae3a9321bb31c9259d068f488bb313d37a09d17bedaa58b69a723dc4de7d3aea09799ed840e394c9b5598d504ddda38a9def01c13a7d55eb860f22e7d31

      • memory/212-9-0x0000000000ED0000-0x0000000000EE5000-memory.dmp

        Filesize

        84KB

      • memory/212-21-0x0000000000ED0000-0x0000000000EE5000-memory.dmp

        Filesize

        84KB

      • memory/212-20-0x0000000000ED0000-0x0000000000EE5000-memory.dmp

        Filesize

        84KB

      • memory/212-19-0x0000000000ED0000-0x0000000000EE5000-memory.dmp

        Filesize

        84KB

      • memory/212-12-0x0000000000ED0000-0x0000000000EE5000-memory.dmp

        Filesize

        84KB

      • memory/1788-17-0x0000000002180000-0x0000000002193000-memory.dmp

        Filesize

        76KB

      • memory/1788-15-0x0000000000400000-0x0000000000430000-memory.dmp

        Filesize

        192KB

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

        Filesize

        84KB

      • memory/1788-0-0x0000000002170000-0x000000000217D000-memory.dmp

        Filesize

        52KB

      • memory/1788-16-0x0000000002170000-0x000000000217D000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/1788-1-0x0000000002180000-0x0000000002193000-memory.dmp

        Filesize

        76KB

      • memory/1812-7-0x0000000000400000-0x0000000000430000-memory.dmp

        Filesize

        192KB

      • memory/1812-6-0x0000000000400000-0x0000000000430000-memory.dmp

        Filesize

        192KB

      • memory/1812-14-0x0000000000400000-0x0000000000430000-memory.dmp

        Filesize

        192KB

      • memory/1812-8-0x0000000000400000-0x0000000000430000-memory.dmp

        Filesize

        192KB