Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to install nessus agent #1562

Open
sugita01 opened this issue Mar 25, 2024 · 5 comments
Open

unable to install nessus agent #1562

sugita01 opened this issue Mar 25, 2024 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@sugita01
Copy link

sugita01 commented Mar 25, 2024

hi everyone,
i tried to install nessusagent with installomator but i kept getting below error in jamf.

Script result: 2024-03-25 21:59:10 : REQ   :  : shifting arguments for Jamf
2024-03-25 21:59:10 : INFO  : nessusagent : setting variable from argument NOTIFY=success
2024-03-25 21:59:10 : REQ   : nessusagent : ################## Start Installomator v. 10.4beta, date 2023-02-24
2024-03-25 21:59:10 : INFO  : nessusagent : ################## Version: 10.4beta
2024-03-25 21:59:10 : INFO  : nessusagent : ################## Date: 2023-02-24
2024-03-25 21:59:10 : INFO  : nessusagent : ################## nessusagent
2024-03-25 21:59:10 : INFO  : nessusagent : SwiftDialog is not installed, clear cmd file var
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
2024-03-25 21:59:11 : INFO  : nessusagent : BLOCKING_PROCESS_ACTION=tell_user
2024-03-25 21:59:11 : INFO  : nessusagent : NOTIFY=success
2024-03-25 21:59:11 : INFO  : nessusagent : LOGGING=INFO
2024-03-25 21:59:11 : INFO  : nessusagent : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-03-25 21:59:11 : INFO  : nessusagent : Label type: pkgInDmg
2024-03-25 21:59:11 : INFO  : nessusagent : archiveName: Nessus Agent.dmg
2024-03-25 21:59:11 : INFO  : nessusagent : no blocking processes defined, using Nessus Agent as default
appCustomVersion: no such file or directory: /Library/NessusAgent/run/bin/nasl
2024-03-25 21:59:11 : INFO  : nessusagent : Custom App Version detection is used, found 
2024-03-25 21:59:11 : INFO  : nessusagent : appversion: 
2024-03-25 21:59:11 : INFO  : nessusagent : Latest version of Nessus Agent is 10.5.1
2024-03-25 21:59:11 : REQ   : nessusagent : Downloading https://www.tenable.com/downloads/api/v2/pages/nessus-agents/files/NessusAgent-latest.dmg to Nessus Agent.dmg
2024-03-25 21:59:29 : REQ   : nessusagent : no more blocking processes, continue with update
2024-03-25 21:59:29 : REQ   : nessusagent : Installing Nessus Agent
2024-03-25 21:59:29 : INFO  : nessusagent : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.8vkZcu6C1K/Nessus Agent.dmg
2024-03-25 21:59:36 : INFO  : nessusagent : Mounted: /Volumes/Nessus Agent Install
2024-03-25 21:59:36 : INFO  : nessusagent : found pkg: /Volumes/Nessus Agent Install/.NessusAgent.pkg
2024-03-25 21:59:36 : INFO  : nessusagent : Verifying: /Volumes/Nessus Agent Install/.NessusAgent.pkg
2024-03-25 21:59:37 : INFO  : nessusagent : App not closed, so no reopen.
2024-03-25 21:59:37 : ERROR : nessusagent : ERROR: Error verifying /Volumes/Nessus Agent Install/.NessusAgent.pkg error:
/Volumes/Nessus Agent Install/.NessusAgent.pkg: rejected
source=Unnotarized Developer ID
origin=Developer ID Installer: Tenable, Inc. (4B8J598M7U)

2024-03-25 21:59:37 : REQ   : nessusagent : ################## End Installomator, exit code 4 

does anyone have similar experience with installomator?

@scriptingosx
Copy link
Collaborator

I cannot recreate this issue. Please check the following:

  • Are you on the latest version of Installomator?
  • the error you are getting means the download is failing verification. This can have a few reasons:
    • is Gatekeeper set to accept only App Store apps?
    • a security or network security tool is interfering with the download

@scriptingosx scriptingosx added the help wanted Extra attention is needed label Apr 5, 2024
@sugita01
Copy link
Author

sugita01 commented Apr 6, 2024

yes.
im on installomator v10.5. my apple gatekeeper set to allowdownloaded from App Store and identified developers.
and i only get this failure for nessus agent, if i install other applications using installomator - it works

@liquidz00
Copy link

Any chances there's a Nessus policy in place that prevents the removal of the agent?

FWIW I too am unable to reproduce the issue, tested on three separate test deployment machines, all receiving the same output when running ./Installomator.sh nessusagent DEBUG=2:

2024-05-11 13:51:10 : REQ   : nessusagent : ################## Start Installomator v. 10.5, date 2023-10-15
2024-05-11 13:51:10 : INFO  : nessusagent : ################## Version: 10.5
2024-05-11 13:51:10 : INFO  : nessusagent : ################## Date: 2023-10-15
2024-05-11 13:51:10 : INFO  : nessusagent : ################## nessusagent
2024-05-11 13:51:10 : INFO  : nessusagent : SwiftDialog is not installed, clear cmd file var
2024-05-11 13:51:10 : INFO  : nessusagent : setting variable from argument DEBUG=2
2024-05-11 13:51:10 : INFO  : nessusagent : BLOCKING_PROCESS_ACTION=tell_user
2024-05-11 13:51:10 : INFO  : nessusagent : NOTIFY=success
2024-05-11 13:51:10 : INFO  : nessusagent : LOGGING=INFO
2024-05-11 13:51:10 : INFO  : nessusagent : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-05-11 13:51:10 : INFO  : nessusagent : Label type: pkgInDmg
2024-05-11 13:51:10 : INFO  : nessusagent : archiveName: Nessus Agent.dmg
2024-05-11 13:51:10 : INFO  : nessusagent : no blocking processes defined, using Nessus Agent as default
appCustomVersion: no such file or directory: /Library/NessusAgent/run/bin/nasl
2024-05-11 13:51:10 : INFO  : nessusagent : Custom App Version detection is used, found
2024-05-11 13:51:10 : INFO  : nessusagent : appversion:
2024-05-11 13:51:10 : INFO  : nessusagent : Latest version of Nessus Agent is 10.6.3
2024-05-11 13:51:10 : REQ   : nessusagent : Downloading https://www.tenable.com/downloads/api/v2/pages/nessus-agents/files/NessusAgent-latest.dmg to Nessus Agent.dmg
2024-05-11 13:51:12 : REQ   : nessusagent : no more blocking processes, continue with update
2024-05-11 13:51:12 : REQ   : nessusagent : Installing Nessus Agent
2024-05-11 13:51:12 : INFO  : nessusagent : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.Ys9Q6pw9w8/Nessus Agent.dmg
2024-05-11 13:51:19 : INFO  : nessusagent : Mounted: /Volumes/Nessus Agent Install
2024-05-11 13:51:19 : INFO  : nessusagent : found pkg: /Volumes/Nessus Agent Install/.NessusAgent.pkg
2024-05-11 13:51:19 : INFO  : nessusagent : Verifying: /Volumes/Nessus Agent Install/.NessusAgent.pkg
2024-05-11 13:51:19 : INFO  : nessusagent : Team ID: 4B8J598M7U (expected: 4B8J598M7U )
2024-05-11 13:51:19 : INFO  : nessusagent : Installomator did not close any apps, so no need to reopen any apps.
2024-05-11 13:51:19 : REQ   : nessusagent : ################## End Installomator, exit code 0

@prit94pritam
Copy link

hi everyone, i tried to install nessusagent with installomator but i kept getting below error in jamf.

Script result: 2024-03-25 21:59:10 : REQ   :  : shifting arguments for Jamf
2024-03-25 21:59:10 : INFO  : nessusagent : setting variable from argument NOTIFY=success
2024-03-25 21:59:10 : REQ   : nessusagent : ################## Start Installomator v. 10.4beta, date 2023-02-24
2024-03-25 21:59:10 : INFO  : nessusagent : ################## Version: 10.4beta
2024-03-25 21:59:10 : INFO  : nessusagent : ################## Date: 2023-02-24
2024-03-25 21:59:10 : INFO  : nessusagent : ################## nessusagent
2024-03-25 21:59:10 : INFO  : nessusagent : SwiftDialog is not installed, clear cmd file var
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
2024-03-25 21:59:11 : INFO  : nessusagent : BLOCKING_PROCESS_ACTION=tell_user
2024-03-25 21:59:11 : INFO  : nessusagent : NOTIFY=success
2024-03-25 21:59:11 : INFO  : nessusagent : LOGGING=INFO
2024-03-25 21:59:11 : INFO  : nessusagent : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-03-25 21:59:11 : INFO  : nessusagent : Label type: pkgInDmg
2024-03-25 21:59:11 : INFO  : nessusagent : archiveName: Nessus Agent.dmg
2024-03-25 21:59:11 : INFO  : nessusagent : no blocking processes defined, using Nessus Agent as default
appCustomVersion: no such file or directory: /Library/NessusAgent/run/bin/nasl
2024-03-25 21:59:11 : INFO  : nessusagent : Custom App Version detection is used, found 
2024-03-25 21:59:11 : INFO  : nessusagent : appversion: 
2024-03-25 21:59:11 : INFO  : nessusagent : Latest version of Nessus Agent is 10.5.1
2024-03-25 21:59:11 : REQ   : nessusagent : Downloading https://www.tenable.com/downloads/api/v2/pages/nessus-agents/files/NessusAgent-latest.dmg to Nessus Agent.dmg
2024-03-25 21:59:29 : REQ   : nessusagent : no more blocking processes, continue with update
2024-03-25 21:59:29 : REQ   : nessusagent : Installing Nessus Agent
2024-03-25 21:59:29 : INFO  : nessusagent : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.8vkZcu6C1K/Nessus Agent.dmg
2024-03-25 21:59:36 : INFO  : nessusagent : Mounted: /Volumes/Nessus Agent Install
2024-03-25 21:59:36 : INFO  : nessusagent : found pkg: /Volumes/Nessus Agent Install/.NessusAgent.pkg
2024-03-25 21:59:36 : INFO  : nessusagent : Verifying: /Volumes/Nessus Agent Install/.NessusAgent.pkg
2024-03-25 21:59:37 : INFO  : nessusagent : App not closed, so no reopen.
2024-03-25 21:59:37 : ERROR : nessusagent : ERROR: Error verifying /Volumes/Nessus Agent Install/.NessusAgent.pkg error:
/Volumes/Nessus Agent Install/.NessusAgent.pkg: rejected
source=Unnotarized Developer ID
origin=Developer ID Installer: Tenable, Inc. (4B8J598M7U)

2024-03-25 21:59:37 : REQ   : nessusagent : ################## End Installomator, exit code 4 

does anyone have similar experience with installomator?

Yes, I am also getting the same issue

@sugita01
Copy link
Author

hi, we found out this is because we using proxy for internet connection. in particular, our proxy is doing ssl inspection..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants