encyclopegia.org

Squatting attack

Squatting attack, in computer science, is a kind of DoS attack where a program interferes with another program through the use of shared synchronization objects in an unwanted or unexpected way.[src] That attack is known in the Microsoft Windows operating system, which offers named objects as an interprocess synchronization mechanism.[src] With named objects, a process may open a synchronization object as a shared resource by just specifying a name.[src] Subsequent processes may use the same name to open that resource and have a way to synchronize with the first process.[src] The squatting attack is possible because, if the legitimate program does not enforce tight security rules for the resources, processes from arbitrary security contexts may gain access to them and ultimately take control of the system.[src] Consider, for example, antivirus software installed on a Microsoft Windows machine.[src] The solution has two pieces: a service, which monitors and scans every file when it is opened, and a manual scanner, which scans the file system when a user requests it.[src] Under normal conditions the service should scan the system occasionally.[src] However, if a user requests a manual scan, the service must stop temporarily to let the manual scanner work, otherwise every file would be scanned twice: by the manual scanner and by the service.…[src]

Squatting attack, in computer science, is a kind of DoS attack where a program interferes with another program through the use of shared synchronization objects in an unwanted or unexpected way.[src] That attack is known in the Microsoft Windows operating system, which offers named objects as an interprocess synchronization mechanism.[src] With named objects, a process may open a synchronization object as a shared resource by just specifying a name.[src] Subsequent processes may use the same name to open that resource and have a way to synchronize with the first process.[src] The squatting attack is possible because, if the legitimate program does not enforce tight security rules for the resources, processes from arbitrary security contexts may gain access to them and ultimately take control of the system.[src] Consider, for example, antivirus software installed on a Microsoft Windows machine.[src] The solution has two pieces: a service, which monitors and scans every file when it is opened, and a manual scanner, which scans the file system when a user requests it.[src] Under normal conditions the service should scan the system occasionally.[src] However, if a user requests a manual scan, the service must stop temporarily to let the manual scanner work, otherwise every file would be scanned twice: by the manual scanner and by the service.[src] To solve this problem the vendor chooses to implement an event based synchronization mechanism, where the service keeps a named event opened and checks it whenever a file is opened.[src] If the event is unset the file is scanned, otherwise it is ignored.[src] The manual scanner, then, to operate, opens the named event, sets it before scanning (disabling the service), scans the file system and resets the event back when finished.[src] This design is prone to a squatting attack because a malicious program can set the named event and disable the service completely.[src] ==Notes== ==References==[src]

23 sentences · 23 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Squatting attack." encyclopegia.org, 2026, https://encyclopegia.org/wiki/squatting-attack. Accessed 27 November 2026.

Chicago

"Squatting attack." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/squatting-attack.

APA

encyclopegia.org. (2026). Squatting attack. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/squatting-attack

Accessed November 27, 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

Ansbach school attack

stub · references available

Attack on the Pin-Up Boys

stub · references available

Muna Hotel attack

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

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
  • Careers — open roles: frontier engineers and sales partners

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