Analysis

  • max time kernel
    149s
  • max time network
    147s
  • 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, 15:03

General

  • Target

    JaffaCakes118_8d929bdd859421d37d3432ef6efb36981c07ccd591a61633e58ec4b4df58e036.exe

  • Size

    160KB

  • MD5

    ea477d707b195f0b44ccad65d77c5134

  • SHA1

    a941fe2f82ac951a69d86f2214208ae1dd9dcd01

  • SHA256

    8d929bdd859421d37d3432ef6efb36981c07ccd591a61633e58ec4b4df58e036

  • SHA512

    65d4e367ceba707dea1d3572862c35a4371035c3f233041561d0111d3e2fb2ba9ac780a178f0b1135fee9fd2089974f6c6f27cd2439f7722d92911bb44b83a91

  • SSDEEP

    1536:ma2VSyQsJgXWheKALv54FZ9YsnVGMk8L7w8ddqOY9jV2cYdOd/5fOJqrtUrfFhl0:xlNGUja6Md5Jle/5mQrtIFs1h/

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_8d929bdd859421d37d3432ef6efb36981c07ccd591a61633e58ec4b4df58e036.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8d929bdd859421d37d3432ef6efb36981c07ccd591a61633e58ec4b4df58e036.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4544
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\afnkdxyq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2568
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\slzldxzm.exe" C:\Windows\SysWOW64\afnkdxyq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4576
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create afnkdxyq binPath= "C:\Windows\SysWOW64\afnkdxyq\slzldxzm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8d929bdd859421d37d3432ef6efb36981c07ccd591a61633e58ec4b4df58e036.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4168
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description afnkdxyq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start afnkdxyq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4764
    • 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:2668
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4544 -s 1036
      2⤵
      • Program crash
      PID:2708
  • C:\Windows\SysWOW64\afnkdxyq\slzldxzm.exe
    C:\Windows\SysWOW64\afnkdxyq\slzldxzm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8d929bdd859421d37d3432ef6efb36981c07ccd591a61633e58ec4b4df58e036.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1672
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4728
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1672 -s 508
      2⤵
      • Program crash
      PID:2132
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4544 -ip 4544
    1⤵
      PID:3512
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 1672 -ip 1672
      1⤵
        PID:1452

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

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

              Filesize

              12.1MB

              MD5

              3d1fb2215f4e04040613d4523ea0433d

              SHA1

              d1269235dd84ef7f703c31bc9cdddb9fd0f27146

              SHA256

              832d91ce00543897220b3f21dd31ab3d93dccad94c13efaaa74f3a6a6238d6d9

              SHA512

              6372b041433ecfd118d41de73c286220fc9007c3d7989bd6489428b4fbd76c0eee7876e2f69b4cc0196a1f7e735889ea1df8ad353b8230a617bde12946b7fd98

            • memory/1672-13-0x0000000000400000-0x0000000000435000-memory.dmp

              Filesize

              212KB

            • memory/1672-6-0x0000000000400000-0x0000000000435000-memory.dmp

              Filesize

              212KB

            • memory/1672-7-0x0000000000400000-0x0000000000435000-memory.dmp

              Filesize

              212KB

            • memory/4544-16-0x0000000002050000-0x0000000002063000-memory.dmp

              Filesize

              76KB

            • memory/4544-1-0x0000000002050000-0x0000000002063000-memory.dmp

              Filesize

              76KB

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

              Filesize

              84KB

            • memory/4544-14-0x0000000000400000-0x0000000000435000-memory.dmp

              Filesize

              212KB

            • memory/4544-17-0x0000000000400000-0x0000000000415000-memory.dmp

              Filesize

              84KB

            • memory/4544-0-0x0000000002040000-0x000000000204D000-memory.dmp

              Filesize

              52KB

            • memory/4544-15-0x0000000002040000-0x000000000204D000-memory.dmp

              Filesize

              52KB

            • memory/4728-8-0x0000000000D10000-0x0000000000D25000-memory.dmp

              Filesize

              84KB

            • memory/4728-11-0x0000000000D10000-0x0000000000D25000-memory.dmp

              Filesize

              84KB

            • memory/4728-18-0x0000000000D10000-0x0000000000D25000-memory.dmp

              Filesize

              84KB

            • memory/4728-19-0x0000000000D10000-0x0000000000D25000-memory.dmp

              Filesize

              84KB

            • memory/4728-20-0x0000000000D10000-0x0000000000D25000-memory.dmp

              Filesize

              84KB