encyclopegia.org

Nessus Attack Scripting Language

The Nessus Attack Scripting Language, usually referred to as NASL, is a scripting language that is used by vulnerability scanners like Nessus and OpenVAS.[1] With NASL specific attacks can be automated, based on known vulnerabilities.[src] Tens of thousands of plugins have been written in NASL for Nessus and OpenVAS.[3] Files that are written in this language usually get the file extension .nasl.[src] For the exploitation of a zero day attack it is possible for an end user of Nessus or OpenVAS to write custom code in NASL which is executed by these vulnerability scanners.[1] In earlier versions of Nessus, a binary called nasl or nasl.exe was provided that could interpret NASL code to perform vulnerability scans.[3] In later versions of Nessus, this should be done via an API that is provided by this software.[src] An example of executing a NASL plugin 'myzeroday.nasl' on Windows, a command such as the following could be invoked: An equivalent example of a Linux or UNIX command could look like this: If the plugin, in this example myzeroday.nasl, is placed in the same directory where other NASL plugins are located, it can also be included in standard scans by Nessus or OpenVAS, via the Web GUI or an API.[3] Many of the specifications of the formal language are similar to those of the programming language C and the scripting language Perl and those of other languages.…[src]

The Nessus Attack Scripting Language, usually referred to as NASL, is a scripting language that is used by vulnerability scanners like Nessus and OpenVAS.[1] With NASL specific attacks can be automated, based on known vulnerabilities.[src] Tens of thousands of plugins have been written in NASL for Nessus and OpenVAS.[3] Files that are written in this language usually get the file extension .nasl.[src] For the exploitation of a zero day attack it is possible for an end user of Nessus or OpenVAS to write custom code in NASL which is executed by these vulnerability scanners.[1] In earlier versions of Nessus, a binary called nasl or nasl.exe was provided that could interpret NASL code to perform vulnerability scans.[3] In later versions of Nessus, this should be done via an API that is provided by this software.[src] An example of executing a NASL plugin 'myzeroday.nasl' on Windows, a command such as the following could be invoked: An equivalent example of a Linux or UNIX command could look like this: If the plugin, in this example myzeroday.nasl, is placed in the same directory where other NASL plugins are located, it can also be included in standard scans by Nessus or OpenVAS, via the Web GUI or an API.[3] Many of the specifications of the formal language are similar to those of the programming language C and the scripting language Perl and those of other languages.[src] Control flow such as the for loop, the if and if-else statements are part of the language and comments are preceded by a hash.[src] An example of "Hello World" in NASL is: In the release notes of Nessus 6.10.0 of 1/31/2017, a new NASL compiler for faster plugins was mentioned.[3] ==References== ==Sources==[src]

21 sentences · 21 cited inline · 3 references stored

References

  1. Fast comparison of Nessus and OpenVAS knowledge bases · retrieved 2026-11-17 · rev 1367542875
    Cite this reference

    MLA "Fast comparison of Nessus and OpenVAS knowledge bases." 2026-11-17. https://avleonov.com/2016/11/27/fast-comparison-of-nessus-and-openvas-knowledge-bases/. Accessed 25 November 2026.

    Chicago "Fast comparison of Nessus and OpenVAS knowledge bases." 2026-11-17. https://avleonov.com/2016/11/27/fast-comparison-of-nessus-and-openvas-knowledge-bases/.

    APA encyclopegia.org. (2026). Fast comparison of Nessus and OpenVAS knowledge bases. Retrieved November 25, 2026, from https://avleonov.com/2016/11/27/fast-comparison-of-nessus-and-openvas-knowledge-bases/

  2. Clarke, Justin; Dhanjani, Nitesh (April 2005). Network Security Tools . O'Reilly Media, Inc. ISBN 9780596007942 . Wikipedia revision 1367542875, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1367542875
    Cite this reference

    MLA "Clarke, Justin; Dhanjani, Nitesh (April 2005). Network Security Tools . O'Reilly Media, Inc. ISBN 9780596007942 . Wikipedia revision 1367542875, retrieved 2026-11-18." Clarke, Justin; Dhanjani, Nitesh (April 2005). 2026-11-17. https://en.wikipedia.org/wiki/ISBN_(identifier). Accessed 25 November 2026.

    Chicago "Clarke, Justin; Dhanjani, Nitesh (April 2005). Network Security Tools . O'Reilly Media, Inc. ISBN 9780596007942 . Wikipedia revision 1367542875, retrieved 2026-11-18." Clarke, Justin; Dhanjani, Nitesh (April 2005). 2026-11-17. https://en.wikipedia.org/wiki/ISBN_(identifier).

    APA Clarke, Justin; Dhanjani, Nitesh (April 2005). (2026). Clarke, Justin; Dhanjani, Nitesh (April 2005). Network Security Tools . O'Reilly Media, Inc. ISBN 9780596007942 . Wikipedia revision 1367542875, retrieved 2026-11-18. Retrieved November 25, 2026, from https://en.wikipedia.org/wiki/ISBN_(identifier)

  3. Nessus 6.10.0 Release Notes - 1/31/2017, New NASL compiler for faster plugins · retrieved 2026-11-17 · rev 1367542875
    Cite this reference

    MLA "Nessus 6.10.0 Release Notes - 1/31/2017, New NASL compiler for faster plugins." "Nessus 6. 2026-11-17. https://docs.tenable.com/releasenotes/nessus/nessus50.htm. Accessed 25 November 2026.

    Chicago "Nessus 6.10.0 Release Notes - 1/31/2017, New NASL compiler for faster plugins." "Nessus 6. 2026-11-17. https://docs.tenable.com/releasenotes/nessus/nessus50.htm.

    APA "Nessus 6. (2026). Nessus 6.10.0 Release Notes - 1/31/2017, New NASL compiler for faster plugins. Retrieved November 25, 2026, from https://docs.tenable.com/releasenotes/nessus/nessus50.htm

Cite this article

MLA

"Nessus Attack Scripting Language." encyclopegia.org, 2026, https://encyclopegia.org/wiki/nessus-attack-scripting-language. Accessed 25 November 2026.

Chicago

"Nessus Attack Scripting Language." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/nessus-attack-scripting-language.

APA

encyclopegia.org. (2026). Nessus Attack Scripting Language. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/nessus-attack-scripting-language

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

2-Headed Shark Attack

stub · references available

Zombie Attack

stub · references available

Owen Sound Attack

stub · references available

Stonewall Attack

stub · references available

Nessus

stub · references available

Ansbach school attack

stub · references available

Attack on the Pin-Up Boys

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1367542875 · 0.5 · snapshot enwiki-001367542875

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.