Analysis

  • max time kernel
    148s
  • max time network
    128s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18-08-2024 06:55

General

  • Target

    a5cd5db8c411cf1c86428e074fd91a16_JaffaCakes118.exe

  • Size

    947KB

  • MD5

    a5cd5db8c411cf1c86428e074fd91a16

  • SHA1

    ead51e2404dda62c7a6f63d2b2157e028b7cc819

  • SHA256

    deb3aebbeb728f10ebcc1936cd516633031557d1063ba5f1c22c9dfc5e6df0f5

  • SHA512

    cb50d5665a295db9bd4ad7cbdd0daaae895c2d78cc94f3f8454f4c82ee1ba7873a59328792a2b678f2992593d5efd18def288715e382475b0ea173f9cc2cfc46

  • SSDEEP

    12288:/KlNJFPYl+A++NSiI9BruKdSPXO9cD/f0QEUKEFumu9BHyc5TMS/2+ETc/FkbQIa:Z3IjuKmETt5C9TfI29OfEQ

Malware Config

Extracted

Family

latentbot

C2

hiendsystems.zapto.org

Signatures

  • LatentBot

    Modular trojan written in Delphi which has been in-the-wild since 2013.

  • Modifies firewall policy service 3 TTPs 10 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Drops startup file 2 IoCs
  • Executes dropped EXE 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • System Location Discovery: System Language Discovery 1 TTPs 13 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Modifies registry key 1 TTPs 4 IoCs
  • Suspicious behavior: EnumeratesProcesses 18 IoCs
  • Suspicious use of AdjustPrivilegeToken 36 IoCs
  • Suspicious use of SetWindowsHookEx 3 IoCs
  • Suspicious use of WriteProcessMemory 50 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\a5cd5db8c411cf1c86428e074fd91a16_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\a5cd5db8c411cf1c86428e074fd91a16_JaffaCakes118.exe"
    1⤵
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3900
    • C:\Windows\SysWOW64\cmd.exe
      C:\Windows\system32\cmd.exe /c C:\Users\Admin\AppData\Local\Temp\\java.bat
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:4384
      • C:\Windows\SysWOW64\wscript.exe
        wscript.exe "C:\Users\Admin\AppData\Local\Temp\invs.vbs" "C:\Users\Admin\AppData\Local\Temp\java2.bat
        3⤵
        • Checks computer location settings
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:544
        • C:\Windows\SysWOW64\cmd.exe
          C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\java2.bat" "
          4⤵
          • Drops startup file
          • System Location Discovery: System Language Discovery
          PID:2644
    • C:\Users\Admin\AppData\Local\Temp\svhost.exe
      C:\Users\Admin\AppData\Local\Temp\\svhost.exe
      2⤵
        PID:4240
      • C:\Users\Admin\AppData\Local\Temp\svhost.exe
        C:\Users\Admin\AppData\Local\Temp\\svhost.exe
        2⤵
        • Executes dropped EXE
        • System Location Discovery: System Language Discovery
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:3704
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:4372
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
            4⤵
            • Modifies firewall policy service
            • System Location Discovery: System Language Discovery
            • Modifies registry key
            PID:2688
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Local\Temp\svhost.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Local\Temp\svhost.exe:*:Enabled:Windows Messanger" /f
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:3868
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Local\Temp\svhost.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Local\Temp\svhost.exe:*:Enabled:Windows Messanger" /f
            4⤵
            • Modifies firewall policy service
            • System Location Discovery: System Language Discovery
            • Modifies registry key
            PID:4648
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:2132
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
            4⤵
            • Modifies firewall policy service
            • System Location Discovery: System Language Discovery
            • Modifies registry key
            PID:5020
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Roaming\nDNSdhrfserv.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\nDNSdhrfserv.exe:*:Enabled:Windows Messanger" /f
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:1796
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Roaming\nDNSdhrfserv.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\nDNSdhrfserv.exe:*:Enabled:Windows Messanger" /f
            4⤵
            • Modifies firewall policy service
            • System Location Discovery: System Language Discovery
            • Modifies registry key
            PID:980
      • C:\Users\Admin\AppData\Local\Temp\svhost.exe
        C:\Users\Admin\AppData\Local\Temp\\svhost.exe
        2⤵
          PID:4868
        • C:\Users\Admin\AppData\Local\Temp\svhost.exe
          C:\Users\Admin\AppData\Local\Temp\\svhost.exe
          2⤵
            PID:2648

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • C:\Users\Admin\AppData\Local\Temp\invs.vbs

          Filesize

          78B

          MD5

          c578d9653b22800c3eb6b6a51219bbb8

          SHA1

          a97aa251901bbe179a48dbc7a0c1872e163b1f2d

          SHA256

          20a98a7e6e137bb1b9bd5ef6911a479cb8eac925b80d6db4e70b19f62a40cce2

          SHA512

          3ae6dc8f02d1a78e1235a0782b632972da5a74ab32287cc41aa672d4fa4a9d34bb5fc50eba07b6915f2e61c402927cd5f6feeb7f7602afa2f64e91efb3b7fc4d

        • C:\Users\Admin\AppData\Local\Temp\java.bat

          Filesize

          47B

          MD5

          81bf5400486e5da45ba0c6c1399d843f

          SHA1

          d70a7c4d3f3057a3ef5b8b1c764b40b3d3b4d59d

          SHA256

          d1a915a5e0286b1648a6e094f52813e2b5766dce3acf6342b297f7ca113545f1

          SHA512

          ebeee9eb5249ee1b278bf6c1fbcd91e4c073a241203f218dfa2edfa708a37679c6e6a78751de55b4640a024b32ce4389bd5d931401309163950cd15b4a91c140

        • C:\Users\Admin\AppData\Local\Temp\java2.bat

          Filesize

          149B

          MD5

          f3e605d07bff1143bdb416c84a9e50c9

          SHA1

          5ecff4f50165965d7fbee0d1c59ac5e878cc756c

          SHA256

          0b69ed500abbd93a82910dd239560bca15fa5df6b08c91a2dc96b2a1c83e88c8

          SHA512

          ae2c185f295d050be3cec80851da16ddcc4e1b64e50cef732f443a332210df1a2efd864958d65b55593a014e2bd04fffb76c6e75e884bf43263ac84bdc60e5c1

        • C:\Users\Admin\AppData\Local\Temp\rundll32-.txt

          Filesize

          947KB

          MD5

          a5cd5db8c411cf1c86428e074fd91a16

          SHA1

          ead51e2404dda62c7a6f63d2b2157e028b7cc819

          SHA256

          deb3aebbeb728f10ebcc1936cd516633031557d1063ba5f1c22c9dfc5e6df0f5

          SHA512

          cb50d5665a295db9bd4ad7cbdd0daaae895c2d78cc94f3f8454f4c82ee1ba7873a59328792a2b678f2992593d5efd18def288715e382475b0ea173f9cc2cfc46

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

          Filesize

          1.1MB

          MD5

          d881de17aa8f2e2c08cbb7b265f928f9

          SHA1

          08936aebc87decf0af6e8eada191062b5e65ac2a

          SHA256

          b3a37093609f9a20ad60b85a9fa9de2ba674cba9b5bd687729440c70ba619ca0

          SHA512

          5f23bfb1b8740247b36ed0ab741738c7d4c949736129e767213e321607d1ccd3e3a8428e4ba44bd28a275b5e3f6206285b1a522514b7ef7ea5e698d90a713d34

        • memory/3704-37-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3704-53-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3704-21-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3704-16-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3704-57-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3704-56-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3704-55-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3704-48-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3704-52-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3704-51-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3704-38-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3704-49-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3704-43-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3704-44-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3704-45-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3704-47-0x0000000000400000-0x000000000045B000-memory.dmp

          Filesize

          364KB

        • memory/3900-1-0x0000000074D00000-0x00000000752B1000-memory.dmp

          Filesize

          5.7MB

        • memory/3900-41-0x0000000074D00000-0x00000000752B1000-memory.dmp

          Filesize

          5.7MB

        • memory/3900-0-0x0000000074D02000-0x0000000074D03000-memory.dmp

          Filesize

          4KB

        • memory/3900-36-0x0000000074D00000-0x00000000752B1000-memory.dmp

          Filesize

          5.7MB

        • memory/3900-35-0x0000000074D02000-0x0000000074D03000-memory.dmp

          Filesize

          4KB

        • memory/3900-4-0x0000000074D00000-0x00000000752B1000-memory.dmp

          Filesize

          5.7MB

        • memory/3900-2-0x0000000074D00000-0x00000000752B1000-memory.dmp

          Filesize

          5.7MB

        • memory/3900-3-0x0000000074D00000-0x00000000752B1000-memory.dmp

          Filesize

          5.7MB