Analysis

  • max time kernel
    145s
  • max time network
    145s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    17-04-2024 01:54

General

  • Target

    f4c9ca0aae067a11649370278de2a937_JaffaCakes118.exe

  • Size

    11.5MB

  • MD5

    f4c9ca0aae067a11649370278de2a937

  • SHA1

    e1fc4e42abfe1accb7e200d21f1f0d329838e81e

  • SHA256

    b3ef346a16f90c3811847840e66397ca8c9938707e37cfd274ee6bb9004c741d

  • SHA512

    8062c679c66c895dd3173ccfa56eacf6b5dbeaa6c5d60712ba3c59f05cddd053ff79209486fc0c9063973ba06e9aa32532d58cd74cf56a5e255b2550d95ae487

  • SSDEEP

    24576:OjCj10HSqGgeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeO:O/D

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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).

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f4c9ca0aae067a11649370278de2a937_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f4c9ca0aae067a11649370278de2a937_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1444
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hwhomyjy\
      2⤵
        PID:2372
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hqywpruu.exe" C:\Windows\SysWOW64\hwhomyjy\
        2⤵
          PID:2520
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hwhomyjy binPath= "C:\Windows\SysWOW64\hwhomyjy\hqywpruu.exe /d\"C:\Users\Admin\AppData\Local\Temp\f4c9ca0aae067a11649370278de2a937_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2392
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hwhomyjy "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2564
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hwhomyjy
          2⤵
          • Launches sc.exe
          PID:2592
        • 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
          PID:2724
      • C:\Windows\SysWOW64\hwhomyjy\hqywpruu.exe
        C:\Windows\SysWOW64\hwhomyjy\hqywpruu.exe /d"C:\Users\Admin\AppData\Local\Temp\f4c9ca0aae067a11649370278de2a937_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3024
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2484

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.1MB

        MD5

        1538ec74bbf895fb5660c41ca0e76312

        SHA1

        a45592bb805e84a551ce063015b019152ec825cb

        SHA256

        29329863f5b61e2ca440b21bc4f55a659bc22b675dea9b05f41a5aed6b4de17f

        SHA512

        8c349703c6935034ad1f2e1b566fed60351702d7f3278c813cecdacf5c18bc7649e1b7f439f1f94cff3285e812aad325e7f1e9e8a232c4600407b93e226ed5d2

      • memory/1444-4-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/1444-3-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/1444-1-0x0000000000630000-0x0000000000730000-memory.dmp

        Filesize

        1024KB

      • memory/1444-8-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2484-9-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2484-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2484-12-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2484-17-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2484-19-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2484-20-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2484-21-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/3024-14-0x00000000005A0000-0x00000000006A0000-memory.dmp

        Filesize

        1024KB

      • memory/3024-15-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB