Cyber Treat Intelligence Research – Can you nmap a Country for research?

Cyber Treat Intelligence Research – Can you nmap a Country for research?

It should be common knowledge, that you are not allowed to run reconnaissance (e.g. nmap) against any companies public internet IP addresses, especially a government agency, without an engagement and prior written permission.

Running a port scan is like rattling the windows to see which ones are unlocked.

In a similar vein, if Google maps drive past a Defence site and takes photos, is that liable, isn’t that the same reconnaissance?

As an example, It’s also possible to conduct Microsoft exchange reconnaissance without sending any attack traffic? (version fingerprinting). 

There are existing services such as SHODAN, that can be used for research and exploiting.

Can you be proescudted

Are you doing the right thing ethnically

Is it ok?

Examples;

https://www.bitsight.com/blog/hafnium-observations

I see allot of Cyber researchers, posting articles about, vulnerabilities that exists based on a Country. Obviously, these research ran, some sort of scan, so is this legal or illegal, are you allowed to do this? Can you nmap a whole Australian Country IP address range? This is the question, I am explore in this article?

Part 10.7—Computer offences of criminal code act 1995 for federal stuff

this bit rules:

(7)  A person may be found guilty of an offence against this section even if committing the serious offence is impossible.

1:57immediately followed by this bit

(8)  It is not an offence to attempt to commit an offence against this section.
478.1  Unauthorised access to, or modification of, restricted data
             (1)  A person commits an offence if:
                     (a)  the person causes any unauthorised access to, or modification of, restricted data; and
                     (b)  the person intends to cause the access or modification; and
                     (c)  the person knows that the access or modification is unauthorised.
Penalty:  2 years imprisonment.
             (3)  In this section:
restricted data means data:
                     (a)  held in a computer; and
                     (b)  to which access is restricted by an access control system associated with a function of the computer.
where the definition of restricted explicitly says an ACS must be in use to protect the data. So technically, if there is anti-port scanning tech on the machine, you are accessing restricted data by obtaining a list of ports.

478.3  Possession or control of data with intent to commit a computer offence
             (1)  A person commits an offence if:
                     (a)  the person has possession or control of data; and
                     (b)  the person has that possession or control with the intention that the data be used, by the person or another person, in:
                              (i)  committing an offence against Division 477; or
                             (ii)  facilitating the commission of such an offence.
Penalty:  3 years imprisonment.
             (2)  A person may be found guilty of an offence against this section even if committing the offence against Division 477 is impossible.
No offence of attempt
             (3)  It is not an offence to attempt to commit an offence against this section.
5
so if you're port scanning/banner grabbing exchange, and someone uses that data for crimes, you're gonna have a bad time
it's vague enough that you could probably get got for it, but port scans/public trawling sounds like it's ok at a federal level at least
looks like i missed most of the juicy parts of this convo, but i have some relevant 2c.i can assure you that people in government feels very strongly that port scanning could be construed as crime. in 2017 (after getting appropriate permission) i scanned the whole *.wa.gov.au space which formed this article: https://www.itnews.com.au/news/finding-security-holes-in-wa-govt-through-open-source-intel-461496 after-which we did it again against *.gov.au with appropriate permission, but shit hit the fan real quick. people in govt accused us of crimes - arguing we didn’t have appropriate permission - didn’t have buy in from all the departments - etc. we had to scrap the whole research. it was pretty hairy at one point there.
FWIW we didn’t do any portscanning either, just relied on third-parties like shodan etc for those results

it was a very hands off exercise
people in government feel very strongly that port scanning could be a crime"people in government feel anything that isn't inside their policies & procedures that they don't understand is a crime, tbfh. but uh them feeling it is a crime doesn't make it a crime
https://www.itnews.com.au/news/finding-security-holes-in-wa-govt-through-open-source-intel-461496

Australian Laws pertaining to Cyber Crime

Research

  • https://www.legislation.gov.au/Details/C2004A00937
  • http://classic.austlii.edu.au/forms/search1.html?&
  • https://nmap.org/book/legal-issues.html
  • https://au.pcmag.com/security/23278/computer-crime-or-legitimate-research
  • https://au.pcmag.com/software/36159/how-to-avoid-becoming-a-cyber-criminal
  • https://censys.io/
  • onar,censys,binaryedge)
  • Telecommunications (Interception and Access ) Act 1979
  • https://www.homeaffairs.gov.au/about-us/our-portfolios/national-security/lawful-access-telecommunications/telecommunications-interception-and-surveillance#:~:text=Telecommunications%20(Interception%20and%20Access)%20Act%201979,-The%20Telecommunications%20(Interception&text=The%20TIA%20Act%20makes%20it,enforcement%20and%20national%20security%20purposes.
  • http://classic.austlii.edu.au/cgi-bin/sinosrch.cgi?method=boolean&meta=%2Fau&mask_path=&mask_world=&query=port+scan&results=20&submit=Search&rank=on&callback=off&legisopt=&view=relevance&max=
  • https://jade.io/search/port+scan
  • https://jade.io/search/tcp+scan
  • https://www.itnews.com.au/news/finding-security-holes-in-wa-govt-through-open-source-intel-461496
  • shodan
  • https://www.kingstonfox.com.au/articles/cybercrime-series-commonwealth-serious-computer-offences
  • http://www5.austlii.edu.au/au/legis/nsw/consol_act/ca190082/s308g.html
  • http://www5.austlii.edu.au/au/legis/nsw/consol_act/ca190082/s308c.html
  • https://www.ag.gov.au/crime/publications/commonwealth-criminal-code-guide-practitioners-draft/part-24-extensions-criminal-liability/division-11/111-attempt