Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/6915b805-87ec-8007-88b5-6ddad7eb36fb
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== ### ==== * Cíl: C:\Windows\System32\drivers\etc\hosts ($env:systemroot\System32\drivers\etc\hosts) * Záloha (pokud ještě neexistuje): C:\Windows\System32\drivers\etc\hosts.backup ===== 1. Pokud <code>hosts</code> neexistuje, vytvoří nový: - doplní základní komentáře a: ``<code>text 127.0.0.1 localhost ::1 localhost <syntaxhighlight>2. Vytvoří zálohu, pokud soubor hosts.backup ještě neexistuje: </syntaxhighlight>text hosts → hosts.backup <syntaxhighlight>3. NAČTE aktuální </code>hosts<code> a: - pokud už v něm najde sekci: </syntaxhighlight>text # === TELEMETRY BLOCK START === ... # === TELEMETRY BLOCK END === </code>`<code> → oznámí, že blok už existuje a NEPŘEPISUJE ho. - jinak: - vezme stávající obsah, - na konec přidá: </code>`<code>text # === TELEMETRY BLOCK START === 0.0.0.0 <doména_1> 0.0.0.0 <doména_2> ... 0.0.0.0 <doména_40> # === TELEMETRY BLOCK END === <syntaxhighlight>4. Vytvoří firewall pravidlo: - jméno: Block Telemetry IPs - typ: Outbound Block - vzdálené adresy: 9 IP (viz níž). ===== ===== Každá se zapíše do hosts jako řádek: ===== </syntaxhighlight>text 0.0.0.0 <doména> <syntaxhighlight> Konkrétně: </syntaxhighlight>text a-msedge.net activity.windows.com ad.doubleclick.net bingads.microsoft.com c.msn.com cdn.optimizely.com choice.microsoft.com compatexchange.cloudapp.net corp.sts.microsoft.com diagnostics.support.microsoft.com feedback.microsoft-hohm.com feedback.search.microsoft.com feedback.windows.com flex.msn.com g.msn.com oca.telemetry.microsoft.com pre.footprintpredict.com rad.msn.com redir.metaservices.microsoft.com schemas.microsoft.akadns.net settings-win.data.microsoft.com sls.update.microsoft.com.akadns.net sqm.df.telemetry.microsoft.com sqm.telemetry.microsoft.com statsfe1.ws.microsoft.com statsfe2.update.microsoft.com.akadns.net statsfe2.ws.microsoft.com survey.watson.microsoft.com telecommand.telemetry.microsoft.com telemetry.appex.bing.net telemetry.microsoft.com telemetry.urs.microsoft.com vortex-bn2.metron.live.com.nsatc.net vortex-cy2.metron.live.com.nsatc.net vortex.data.microsoft.com vortex-win.data.microsoft.com watson.microsoft.com watson.ppe.telemetry.microsoft.com watson.telemetry.microsoft.com wes.df.telemetry.microsoft.com <syntaxhighlight> 🔴 Tohle je přesně to, co antiviry milují detekovat jako „Host file hijack / telemetry block / trojan pattern“, protože: * blokuješ tím: - Windows telemetrii, - diagnostiku, - aktualizační servery, - reklamní a Bing / MSN / Watson endpoints. ===== Kromě hosts se vytvoří i firewall pravidlo s těmito IP: ===== </syntaxhighlight>text 134.170.30.202 137.116.81.24 157.56.106.189 184.86.53.99 204.79.197.200 23.218.212.69 65.39.117.230 65.55.108.23 64.4.54.254 <syntaxhighlight> Tj. kombinace HOSTS block + firewall block – z pohledu AV je to už dost „hardcore“ chování. ===== - Stejný modul (Security.psm1) má funkci: Invoke-HostsTelemetryRestore ===== Dělá: # Zkusí obnovit hosts ze: </syntaxhighlight>text hosts.backup → hosts <syntaxhighlight>2. Pokud záloha není / nejde: - načte hosts, - vyhodí vše mezi: </syntaxhighlight>text # === TELEMETRY BLOCK START === ... # === TELEMETRY BLOCK END === </code>`<code> - zbytek zachová. # Smaže firewall pravidlo Block Telemetry IPs.
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)