Analysis

  • max time kernel
    146s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20240215-en
  • resource tags

    arch:x64arch:x86image:win7-20240215-enlocale:en-usos:windows7-x64system
  • submitted
    16-04-2024 22:49

General

  • Target

    f480c4c267b19e122e2a8538b874e36d_JaffaCakes118.exe

  • Size

    329KB

  • MD5

    f480c4c267b19e122e2a8538b874e36d

  • SHA1

    fb0bc1a4100646812cb4fd98bb9eed597bb30742

  • SHA256

    8c916ed8a94497730292e458d978e791feb7d13153629b659ac635d393c47463

  • SHA512

    6965a0b6f88ea49a06f46b6ae28091ca71e21426b9e80a9b60b550c70d42534ff7a4534e7b735c63b974b2baae6679b5856cfd632c4ad9fc2800ea3cb510cdea

  • SSDEEP

    6144:N8yvuEffTrVKi7DIdJK6f89HQBPftMBH5rpDSYkoKW5hhaYpZ2dX+GKT:j/ffnv7DuKn9HgN6HdhkW5yzbK

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\f480c4c267b19e122e2a8538b874e36d_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f480c4c267b19e122e2a8538b874e36d_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2024
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gwmoxzmf\
      2⤵
        PID:2532
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xgsyidzp.exe" C:\Windows\SysWOW64\gwmoxzmf\
        2⤵
          PID:2552
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gwmoxzmf binPath= "C:\Windows\SysWOW64\gwmoxzmf\xgsyidzp.exe /d\"C:\Users\Admin\AppData\Local\Temp\f480c4c267b19e122e2a8538b874e36d_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2628
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gwmoxzmf "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2528
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gwmoxzmf
          2⤵
          • Launches sc.exe
          PID:2736
        • 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:2516
      • C:\Windows\SysWOW64\gwmoxzmf\xgsyidzp.exe
        C:\Windows\SysWOW64\gwmoxzmf\xgsyidzp.exe /d"C:\Users\Admin\AppData\Local\Temp\f480c4c267b19e122e2a8538b874e36d_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2540
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2916

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\xgsyidzp.exe
        Filesize

        10.3MB

        MD5

        1f7ba1fb7be78aa4f9a7e4bfa794eb8c

        SHA1

        17efa86afb6050c53157ccd2e52a4ecf19f65c05

        SHA256

        aaaef065f572c631c87ffd01a97d375c1a1ea877ab250d84e59c7e158a5397ce

        SHA512

        9a7951c92b6ba3ae91027c76906b9fa72bd5ca76fb75dc75986571d1bddafc6eae5dbf14394d5dd3c13beaa9e54bdd26ac61c4766a0aa28bb6cdfc4982dce7c7

      • memory/2024-2-0x0000000000230000-0x0000000000243000-memory.dmp
        Filesize

        76KB

      • memory/2024-4-0x0000000000400000-0x000000000046E000-memory.dmp
        Filesize

        440KB

      • memory/2024-8-0x0000000000400000-0x000000000046E000-memory.dmp
        Filesize

        440KB

      • memory/2024-1-0x0000000000630000-0x0000000000730000-memory.dmp
        Filesize

        1024KB

      • memory/2540-11-0x0000000000400000-0x000000000046E000-memory.dmp
        Filesize

        440KB

      • memory/2540-9-0x00000000005B0000-0x00000000006B0000-memory.dmp
        Filesize

        1024KB

      • memory/2540-15-0x0000000000400000-0x000000000046E000-memory.dmp
        Filesize

        440KB

      • memory/2916-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp
        Filesize

        4KB

      • memory/2916-10-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2916-14-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2916-18-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2916-19-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2916-20-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2916-21-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB