Lição 3 de 8 · 8 min
Behavioural signals vs static rules: what a firewall can actually observe
Static rules say what is allowed; behavioural signals notice when something changes. Learn which behaviours a network firewall can see, which it cannot, and how FireAI combines weak signals into one risk score.
Por agora esta página está em inglês.
A static rule is a sentence written in advance: “Slack may reach slack.com”, “nothing may reach this address”. Rules are precise and predictable, and they are the backbone of any firewall. Their weakness is that they only know what their author thought of. A trusted app that is updated with a malicious library, or starts talking to a new server at 3 a.m., still matches “allow Slack”.
Behavioural detection adds a second question: is this normal for this app? NIST’s guide to intrusion detection and prevention (SP 800-94) calls this anomaly-based detection, and contrasts it with signature-based detection, which looks for known-bad patterns. Both have a place. Signatures catch what is already known with few false alarms; anomalies can catch the new, at the cost of more false alarms.
What a network firewall can observe
A firewall sits on the connection, so it sees who connects, where, when, and how much. From that it can derive useful behavioural signals:
- A destination this app has never contacted before, or a country it has never talked to.
- Connections at unusual hours, or to unusual ports.
- An unusually large upload, the pattern of data being sent out (MITRE ATT&CK T1041).
- An app with no valid code signature, or one whose signature is broken.
- A destination on a threat list, a Tor exit, an open proxy, or a name that looks machine-generated or imitates a known brand.
- Timing coincidences, such as a first connection seconds after the clipboard changed, the moment clipboard stealers wait for (MITRE ATT&CK T1115).
What it cannot observe
Just as important is knowing the boundary. A network firewall does not watch files, so it cannot see an app encrypting documents on disk, the classic sign of ransomware; that is the job of endpoint detection and response tools and backups. It does not see what an app does in memory, which processes it launches, or what it reads from the clipboard. It also cannot read inside an encrypted connection without decrypting it, which brings its own risks. A firewall that claimed otherwise would be promising something it cannot deliver.
How FireAI combines weak signals
FireAI adds these signals up in a correlated risk score out of 100, shown in Investigate with every reason listed. Each factor carries a weight: a confirmed threat-list hit or a broken signature counts heavily, a first connection to a new place or night-time activity counts lightly, and some facts lower the score, such as a destination that belongs to a well-known company or an Apple system binary. The total maps to a level (low, elevated, high, critical), so one weak signal stays low while a real combination stands out.
Two design choices keep this honest. First, the score is explained: every factor is listed, so you can disagree with it. Second, the score on its own is advice, not a hidden verdict: FireAI blocks automatically only what your rules and security mode say, what a threat list you turned on actually confirms, or what Autopilot decides when it is confident, and every one of those Autopilot decisions becomes a visible rule you can undo (lesson 4). The score helps you decide; you keep the last word.
A worked example
Imagine two connections at 3 a.m. The first comes from a signed web browser, reaching a well-known company it contacts every day. The second comes from a small unsigned program that has never connected before, reaching a name that looks machine-generated in a country the Mac has never talked to, and uploading far more than it downloads. Each fact about the second connection could be innocent on its own: developers run unsigned tools, people travel, backups upload. Together they tell a very different story from the first connection.
That is the core of behavioural detection: individual signals are weak and noisy, and value comes from how they combine. It is also why an explanation matters. If a tool only said “high risk”, you could not tell whether it saw the unsigned binary, the upload or the hour. When every reason is listed, you can check the one you are unsure about, and you learn what normal looks like on your own Mac.
A reter
- Static rules are precise but only know what their author anticipated.
- Behavioural (anomaly) detection asks whether an action is normal for this app.
- A network firewall sees connections: destinations, timing, volume, identity; not files, memory or encrypted contents.
- Single signals are weak; FireAI’s correlated score adds them up and shows every reason.
Teste-se
1. Which of these can a network firewall NOT observe?
- A connection to a destination the app has never used
- A large upload to an unknown server
- An app encrypting files on the disk — Certo.
- An unsigned app going online
File activity is outside a network firewall’s view; that is the domain of endpoint detection tools and backups.
2. What is the main trade-off of anomaly-based detection compared with signature-based detection?
- It can catch new behaviour but raises more false alarms — Certo.
- It only works offline
- It never raises false alarms
- It needs no data at all
NIST SP 800-94 notes anomaly detection can find previously unknown activity but tends to produce more false positives.
3. Why does FireAI list every factor behind its risk score?
- To slow the user down
- So a weak signal alone doesn’t decide, and you can see and disagree with the reasoning — Certo.
- Because the score is random
- To send the reasons to a server
An explained score lets a real combination stand out while you keep the final decision.
Praticar com o FireAI
Ponha esta lição em prática no seu próprio Mac.
- Como o FireAI vigia as ligações do seu Mac — Saiba que app está a falar com a internet, em termos simples, sem instalar nada que funcione como um serviço oculto em segundo plano.
- Regras: app, sítio, domínio, IP ou um intervalo, para sempre ou até reiniciar — Escreva uma regra tão precisa como um único endereço ou tão ampla como um domínio inteiro.
- Piloto Automático: o FireAI decide as ligações fáceis por si — Deixe o FireAI resolver sozinho as decisões fáceis, e veja sempre porquê.
- Inspeção profunda, sem decifrar nada — Obtenha detalhe real sobre uma ligação segura sem que o FireAI leia alguma vez o que está lá dentro.
- Modos de segurança: Casa, Café, Paranoico, Sob ataque — Ajuste o rigor do FireAI ao sítio onde o seu Mac está de facto, com um toque.
- Coffee Shop Armor: safer on public Wi-Fi, and warned about fake networks — Sit down in any café, hotel or airport and let FireAI tighten up for you.
- O Mapa-múndi — Veja para onde os seus dados vão de facto, não apenas um nome de anfitrião que teria de procurar você mesmo.
- Perguntar ao FireAI: ordens em linguagem simples em vez de formulários — Altere o que o FireAI faz escrevendo uma frase, sem procurar em menus.
- Investigue uma ligação — Decida com os factos à sua frente, não com um aviso vago.
Fontes
- NIST SP 800-94: Guide to Intrusion Detection and Prevention Systems
- MITRE ATT&CK T1041: Exfiltration Over C2 Channel
- MITRE ATT&CK T1115: Clipboard Data
- MITRE ATT&CK T1036: Masquerading
- FireAI docs: Investigate a connection
- FireAI docs: Clipboard Armor
Ponha em prática no seu Mac
Experimente todas as funcionalidades grátis durante 17 dias, sem cartão.