Analysis

  • max time kernel
    143s
  • max time network
    154s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231215-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/02/2024, 09:09

General

  • Target
    allegato_362.js
  • Size 5KB
  • Sample240214-k4pl6sed9t
  • SHA256 c937e93e8352b27b126c1593cc456e5d82b9371b87a45636e29ed34a43dddadb
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • danabot

Attributes
  • type

    loader

Signatures

  • Danabot

    Danabot is a modular banking Trojan that has been linked with other malware.

  • Blocklisted process makes network request 3 IoCs
  • Downloads MZ/PE file
  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Loads dropped DLL 1 IoCs
  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Accesses Microsoft Outlook accounts 1 TTPs 1 IoCs
  • Accesses Microsoft Outlook profiles 1 TTPs 4 IoCs
  • Checks installed software on the system 1 TTPs

    Looks up Uninstall key entries in the registry to enumerate software on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Checks processor information in registry 2 TTPs 26 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Modifies system certificate store 2 TTPs 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 10 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of FindShellTrayWindow 1 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\allegato_362.js
    1⤵
    • Blocklisted process makes network request
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4432
    • C:\Windows\System32\rundll32.exe
      "C:\Windows\System32\rundll32.exe" /B C:\Users\Admin\AppData\Local\Temp\HtFvQAUnLk.dll,start
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4528
      • C:\Windows\SysWOW64\rundll32.exe
        "C:\Windows\System32\rundll32.exe" /B C:\Users\Admin\AppData\Local\Temp\HtFvQAUnLk.dll,start
        3⤵
        • Blocklisted process makes network request
        • Checks computer location settings
        • Loads dropped DLL
        • Accesses Microsoft Outlook accounts
        • Accesses Microsoft Outlook profiles
        • Checks processor information in registry
        • Modifies system certificate store
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of FindShellTrayWindow
        • Suspicious use of WriteProcessMemory
        • outlook_office_path
        • outlook_win_path
        PID:5096
        • C:\Windows\SysWOW64\schtasks.exe
          schtasks /End /tn \Microsoft\Windows\Wininet\CacheTask
          4⤵
            PID:2912
          • C:\Windows\SysWOW64\schtasks.exe
            schtasks /Run /tn \Microsoft\Windows\Wininet\CacheTask
            4⤵
              PID:2700
            • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
              "C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath
              4⤵
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              PID:4404

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            Eroawwse

            • Path C:\Users\Admin\AppData\Local\Temp\Eroawwse
            • Size 46KB
            • SHA256 961fc9bf866c5b58401d3c91735f9a7b7b4fc93c94038c504c965491f622b52b
            • MD5 SHA1 SHA512 SSDEEP

            HtFvQAUnLk.dll

            • Path C:\Users\Admin\AppData\Local\Temp\HtFvQAUnLk.dll
            • Size 11.4MB
            • SHA256 726f2a4c4592d5ec2a1c401a6e427e16c21d0e7e4ff93d6495e2689bf6f2e9df
            • MD5 SHA1 SHA512 SSDEEP

            HtFvQAUnLk.dll

            • Path C:\Users\Admin\AppData\Local\Temp\HtFvQAUnLk.dll
            • Size 4.2MB
            • SHA256 43735fd912dece710ee5fc99027d616a0cc8af67cbf78f89443e1b2e3ffa778b
            • MD5 SHA1 SHA512 SSDEEP

            __PSScriptPolicyTest_ccsu1pgq.axx.ps1

            • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_ccsu1pgq.axx.ps1
            • Size 60B
            • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
            • MD5 SHA1 SHA512

            memory/4404-91-0x0000000007010000-0x00000000070B3000-memory.dmp

            memory/4404-93-0x0000000007110000-0x000000000712A000-memory.dmp

            memory/4404-103-0x0000000007430000-0x0000000007438000-memory.dmp

            memory/4404-102-0x0000000007450000-0x000000000746A000-memory.dmp

            memory/4404-101-0x0000000007350000-0x0000000007364000-memory.dmp

            memory/4404-100-0x0000000007340000-0x000000000734E000-memory.dmp

            memory/4404-97-0x0000000007310000-0x0000000007321000-memory.dmp

            memory/4404-95-0x0000000007390000-0x0000000007426000-memory.dmp

            memory/4404-94-0x0000000007180000-0x000000000718A000-memory.dmp

            memory/4404-92-0x0000000007750000-0x0000000007DCA000-memory.dmp

            memory/4404-90-0x00000000063A0000-0x00000000063BE000-memory.dmp

            memory/4404-80-0x000000006CB30000-0x000000006CB7C000-memory.dmp

            memory/4404-79-0x00000000063C0000-0x00000000063F2000-memory.dmp

            memory/4404-78-0x0000000005E40000-0x0000000005E8C000-memory.dmp

            memory/4404-77-0x0000000005E00000-0x0000000005E1E000-memory.dmp

            memory/4404-76-0x00000000058C0000-0x0000000005C14000-memory.dmp

            memory/4404-65-0x0000000004F60000-0x0000000004FC6000-memory.dmp

            memory/4404-62-0x0000000002470000-0x00000000024A6000-memory.dmp

            memory/4404-63-0x0000000004FE0000-0x0000000005608000-memory.dmp

            memory/4404-64-0x0000000004DC0000-0x0000000004DE2000-memory.dmp

            memory/4404-71-0x0000000005710000-0x0000000005776000-memory.dmp

            memory/5096-5-0x0000000073E60000-0x00000000749C6000-memory.dmp

            memory/5096-61-0x00000000053F0000-0x0000000005BF2000-memory.dmp

            memory/5096-60-0x00000000053F0000-0x0000000005BF2000-memory.dmp

            memory/5096-44-0x00000000053F0000-0x0000000005BF2000-memory.dmp

            memory/5096-6-0x0000000004550000-0x00000000053E1000-memory.dmp

            memory/5096-18-0x0000000004550000-0x00000000053E1000-memory.dmp

            memory/5096-17-0x00000000053F0000-0x0000000005BF2000-memory.dmp

            memory/5096-16-0x00000000053F0000-0x0000000005BF2000-memory.dmp

            memory/5096-7-0x00000000053F0000-0x0000000005BF2000-memory.dmp

            memory/5096-4-0x0000000073E60000-0x00000000749C6000-memory.dmp

            memory/5096-96-0x00000000053F0000-0x0000000005BF2000-memory.dmp

            memory/5096-15-0x00000000053F0000-0x0000000005BF2000-memory.dmp

            memory/5096-14-0x00000000053F0000-0x0000000005BF2000-memory.dmp

            memory/5096-13-0x00000000053F0000-0x0000000005BF2000-memory.dmp

            memory/5096-12-0x0000000073E60000-0x00000000749C6000-memory.dmp

            memory/5096-99-0x00000000053F0000-0x0000000005BF2000-memory.dmp

            memory/5096-11-0x00000000053F0000-0x0000000005BF2000-memory.dmp

            memory/5096-10-0x0000000076F62000-0x0000000076F63000-memory.dmp

            memory/5096-9-0x00000000053F0000-0x0000000005BF2000-memory.dmp

            memory/5096-8-0x0000000076F62000-0x0000000076F63000-memory.dmp