Saturday, September 16, 2023

How can I Use AI to Defend Against Aggressive AI Attacks

As a rule, I avoid this type of speculation because I don’t want to aid anybody in cracking/penetrating systems. However, AI attacks are happening or going to happen anyway. 

First, a lot of the global ‘attack surface’ is insecure by design and we need to acknowledge that and fix it. 

Second, AI presents unique challenges, and we are absolutely not ready to deal with it. 

Third, one of the things we should be doing on an ongoing basis is using AI to mitigate problems that arise due to AI. 

AI technologies introduce unique challenges to cybersecurity, as they can generate a broad spectrum of automated attacks and countless variations of known penetration techniques. The agility and scale of AI-generated threats demand a proactive approach to defense, one that uses AI itself to anticipate vulnerabilities and devise countermeasures before they are exploited.

To meet this need, the proposed model uses Generative Adversarial Networks (GANs) trained on codified penetration techniques to invent potential future attacks. These attacks are then analyzed to create corresponding defense protocols. A structured "attack/defense language" format serves to capture essential details about both the artificially generated attacks and their countermeasures, including diagnostic signals that help monitor their efficacy.

The ultimate goal is to simulate the security "arms race" in a controlled environment. By doing so, defenses against new classes of AI-generated attacks can be developed in advance, creating a more resilient security infrastructure.

This approach enables us to engage with AI-generated threats in a more strategic manner, potentially staying one step ahead of future vulnerabilities.

For theoretical discussions around designing countermeasures against AI-generated attacks, we can consider breaking down penetration techniques into generalized categories, like:

  • Code Vulnerabilities: E.g., Buffer overflows, SQL injection
  • Network Exploits: E.g., Man-in-the-middle attacks, DDoS
  • Social Engineering: E.g., Phishing, Pretexting
  • Misconfiguration: E.g., Open ports, Default passwords
  • Data Interception: E.g., Packet sniffing, Cookie theft

Each category can be further detailed and codified into features suitable for GANs. These could help in simulating attacks and thus fortifying defenses.

Attack Protocol

Codified info about the attack
  • Category: Broad classification like Code Vulnerabilities, Network Exploits, etc.
  • SubCategory: Specific type like Buffer Overflow, SQL Injection, etc.
  • Attributes: Key specifics like targeted OS, programming language, vulnerability details.
  • GeneratedExamples: Array of example codes or techniques generated by the GAN.
  • DiagnosticSignals: Metrics or logs to monitor the attack's behavior.

Defense Protocol

Codified info about the defense mechanisms
  • FirewallSettings, IDS, Patches: Different countermeasures applied.
  • BestPractices: General recommendations.
  • DiagnosticSignals: Metrics or logs to monitor the defense efficacy.

Develop a structure necessary to create a sort of 'language' of attack and defense. 
{
  "AttackProtocol": {
    "Category": "Code Vulnerabilities",
    "SubCategory": "Buffer Overflow",
    "Attributes": {
      "TargetOS": "Windows",
      "Language": "C++",
      "VulnerabilityDetails": "Stack-based"
    },
    "GeneratedExamples": [...],
    "DiagnosticSignals": [...]
  },
  "DefenseProtocol": {
    "FirewallSettings": {...},
    "IDS": {...},
    "Patches": {...},
    "BestPractices": ["InputValidation", "MemoryManagement"],
    "DiagnosticSignals": [...]
  }

}

This is just one of the many ways that AI is radically changing the world we live in. We need to collectively recognize and manage the incredible changes that are taking place. We need new rules across the board. 

Monday, September 11, 2023

AI Emotional Detection and Response

This is a response to a question on Quora about the challenges of developing AI systems capable of dealing with human emotions. 

Going from the other answers [on Quora] I would say that the first obstacle might be to get people to believe it is possible. I am strongly of the opinion that it is operationally possible and conceptually a “slam dunk”. By ‘operationally’, I mean that we can train an AI to recognize all the various signals that people use to convey their state of mind, including temporal, social, geographical, and cultural context. We can do that in the same relatively well-established way we use GANs to work back and forth with photos, speech and other types of input data. If we can assemble the data, we can create an AI that both recognizes emotional states and operates appropriately by expressing the appropriate emotional state as a response.

Going from what we have seen in the past year, such a system would likely take less than a year to train, ground-up, both to ‘read’ human emotions and generate appropriate responses. It would become much better than humans. Other people answering here don’t seem to be aware that we are not working ‘ground up’. Work is already well underway.

Others answering here seem to believe that we are not as far along as we are with training and generative AI. They also seem to be articulating things that would make it difficult for a human being. They also seem hung up on what the responding system is ‘thinking’, assuming that both reading and expressing emotions requires a particular theory of mind. “Theorists have suggested that emotions are canonical responses to situations ancestrally linked to survival.” (Kragel et al. 2019) -- “... it is possible to argue that infants can see emotions in others even though they lack the sort of knowledge that, in the theory of mind view, is necessary to see patterns of changes in the face as expressions of emotions.” (Zamuner, 2013)

AI can read emotions by reading facial features. It can interpret visual cues and vocal cues separately, “Whereas by combining both audio and visual features, the overall system accuracy has been significantly improved up to 80.27 %.” (Rashid, et., et al 2013). We reveal emotions by vocal cues, body language, facial expressions, language, and more. Cardiac status can change with emotion and sensory apparatus is already in use for this. (Marin-Morales, et. Al 2018) If the sensory apparatus is available to read the cues, we can collect the data. If we can collect the data, we can use it to train AI. If we can train AI, we can train it to match and surpass the human ability to detect and respond to emotions.

We’ve passed the ‘can we do it’ point on this journey. We are now travelling through ‘how much cheaper, faster, and better can we do it’. Soon, we will arrive at ‘we can do it for free, instantly, and better than we can measure.

References

Marín-Morales, J., Higuera-Trujillo, J.L., Greco, A. et al. Affective computing in virtual reality: emotion recognition from brain and heartbeat dynamics using wearable sensors. Sci Rep 8, 13657 (2018). Affective computing in virtual reality: emotion recognition from brain and heartbeat dynamics using wearable sensors - Scientific Reports

Philip A. Kragel et al. Emotion schemas are embedded in the human visual system.Sci. Adv.5,eaaw4358(2019).DOI:10.1126/sciadv.aaw4358 Emotion schemas are embedded in the human visual system | Science Advances

Rashid, M., Abu-Bakar, S.A.R. & Mokji, M. Human emotion recognition from videos using spatio-temporal and audio features. Vis Comput 29, 1269–1275 (2013). Human emotion recognition from videos using spatio-temporal and audio features - The Visual Computer

Zamuner, E. The Role of the Visual System in Emotion Perception. Acta Anal 28, 179–187 (2013). The Role of the Visual System in Emotion Perception - Acta Analytica

Saturday, September 9, 2023

Safety -- Identity Verification Protocol in the Age of Advanced AI


Identity Verification Protocol in the Age of Advanced AI

In an era where artificial intelligence (AI) has reached unprecedented capabilities, the lines between reality and simulation are increasingly blurred. Deepfake technologies can convincingly replicate human voices, facial expressions, and even behaviors, posing significant risks to personal and public safety. Scenarios such as fraudulent distress calls or fake kidnappings are no longer the stuff of science fiction but a looming reality. In this context, traditional methods of identity verification—passwords, biometrics, or even multi-factor authentication—may no longer suffice.

To address these challenges, we introduce a robust Identity Verification Protocol that combines cryptographic keys, QR codes, and situation-specific passwords. This multi-layered approach aims to provide a foolproof method for confirming an individual's identity and situation in real-time. By integrating these elements, the protocol offers a comprehensive solution that is not only secure but also quick to implement in emergency situations.

The protocol is designed to be both technologically rigorous and user-friendly, ensuring that it can be adopted by individuals with varying levels of technical expertise. It serves as a critical tool for safeguarding against the deceptive capabilities of advanced AI, thereby providing an additional layer of security in a rapidly evolving digital landscape.

In summary, as we navigate the complexities and vulnerabilities introduced by AI, adopting a robust identity verification system becomes not just advisable but essential. This protocol aims to fill that need, offering a secure, efficient, and adaptable method for confirming identity and situation, thus mitigating the risks posed by AI-generated impersonations.

Protocol for Identity Verification Using QR Codes, Cryptographic Keys, and Password

Steps:

  1. QR Code Generation:

    • Left Arm: Contains a URL with encrypted personal information, signed by Private Key 1.
    • Right Arm: Contains Public Key 1, signed by Private Key 2.
    • Hidden Place: Contains Public Key 2.
  2. Password Encryption:

    • A password chosen by the individual is encrypted using Private Key 1.
  3. Tattoo or Laser Printing:

    • The QR codes are tattooed or laser-printed onto the specified body parts.
  4. Verification Process:

    1. Scan the QR code on the left arm to get the URL and verify the signature using Public Key 1 from the right arm.
    2. Scan the QR code on the right arm to get Public Key 1 and verify its signature using Public Key 2 from the hidden place.
    3. Scan the QR code from the hidden place to get Public Key 2.
    4. Use Public Key 2 to verify Public Key 1, and Public Key 1 to verify the URL's information.
    5. Decrypt the password using Public Key 1 and match it with the password provided by the allegedly captured person.

Feasibility:

  • QR Code Size: The addition of an encrypted password will still likely fit within the 3,000-character limit of a QR code.

Privacy Concerns Addressed:

  1. Encrypted Personal Info: The URL contains encrypted personal information, accessible only by decrypting it with Public Key 1.
  2. Password Layer: The additional password layer ensures that even if someone were to scan the QR codes, they would also need the password to complete the verification.

Summary:

The revised protocol adds an encrypted password for an extra layer of security, making it more privacy-conscious. It remains technically feasible, given the character limits of QR codes and cryptographic key lengths.

Sunday, September 3, 2023

Spam: A nurse poses questions to social media

There is a post making the rounds that starts like this: 

"I’m a nurse. I’ve been one for 13 years. It wasn’t until about 5 years ago... I started asking these very questions."

It then goes on to pose a bunch of questions in all caps Unicode characters that criticize doctors for a variety of things the nurse apparently does not understand very well. Note that the highly unusual Unicode characters are almost certainly intended to avoid detection by automated systems looking for spam and are not at all likely to be actually created by some disgruntled nurse. They could be intended as a way to stealthily make malicious materials or as a way to scan for suckers willing to pass on such things. 

The post is not what it seems, but taking it at face value, I have several critiques of the claims made in this viral post:

It oversimplifies complex medical issues and promotes a "one size fits all" approach that can be dangerous. What works for one person may not work or could even harm another. Doctors have to consider many factors and the individual patient's needs.

It relies heavily on anecdotes and sweeping generalizations without providing scientific evidence to back up the claims.

Some of the claims are misleading or exaggerated. For example, emotions alone don't directly cause illness in most cases. The relationship between emotions and physical health is complex.

Some of the advice could be harmful if taken without medical supervision. For example, grapefruit does interact with many medications and can cause problems if mixed. Activated charcoal can decrease absorption of medications. Herbs can also interact with medications.

While lifestyle factors are very important for health, the post downplays the role of genetics, disease, and other factors outside individual control. Diet and lifestyle alone cannot cure everything.

Doctors do provide much of the diet and lifestyle advice mentioned. However, they have limited time with patients and have to focus on immediate medical issues. Separate appointments with dietitians may be warranted.

The post frames doctors as intentionally withholding or ignoring natural cures, which is not accurate. Doctors work within the constraints of available evidence and their medical training.

While the post raises some valid points about lifestyle factors, it makes many questionable claims and oversimplifies complex medical issues. Sweeping statements about mainstream medicine and doctors as a whole are not substantiated. Patients should be wary of medical advice on social media that is not backed by credible research and promoted by qualified experts. 

Point by point for as long as I can stand it:

SOMEONE TELL ME WHY..

Two huge broad issues pervade the answers here:

First: People are different and when they present they are a unique individual with a problem unique enough for them personally that they are seeing a doctor. If blanket advice applied to patients we would have a page of text with these ‘solutions’ and we wouldn't even need a doctor. The same advice for all these things cannot apply to all people at all times. 

Second: Depending on where they practice, Doctors take an oath to do no harm. The Declaration of Geneva contains the text: "THE HEALTH AND WELL-BEING OF MY PATIENT will be my first consideration; I WILL RESPECT the autonomy and dignity of my patient; I WILL MAINTAIN the utmost respect for human life;" Some of the advice given by the person claiming to be a nurse is in conflict with that. 

WHY DON’T DOCTORS TELL YOU TO TAKE MAGNESIUM INSTEAD OF STOOL SOFTENERS? (WHICH DEHYDRATES THE BOWEL)

That blanket advice given to a patient sight unseen could be useless or even unhealthy. "Occasional irregularity is a fact of life, but you can minimize it with some basic steps. You should be sure you are eating a fiber-rich diet, drinking adequate fluids, and staying physically active. But when you have constipation, the best laxative is the gentlest and safest option, like a bulk-forming laxative. If laxatives don't work, ask for help. You should see your doctor and discuss it if you are constantly needing to take laxatives." Health.Harvard.edu (2023)

WHY DON’T DOCTORS TELL YOU TO CHANGE YOUR DIET WHEN YOU HAVE HEART BURN AND INDIGESTION INSTEAD OF GIVING YOU PRILOSEC? (THIS CAUSES MORE HEARTBURN, COLON CANCER & OSTEOPOROSIS AND LEAVES FOOD FERMENTING IN YOUR BODY)

That blanket advice could literally kill people. I know because I'm one of them. For some, proton pump inhibitors like Prilosec can ultimately make the difference between life and death. Meantime, on the road to consequences like Barrett's esophagus the patient would be in severe distress. Diet does not cure GERD. "Barrett's esophagus is a complication of reflux disease, in which acid leaking back from the stomach begins to erode the esophagus. The treatment for Barrett's esophagus is similar to the treatment for GERD." "PPIs are the most effective medication for healing erosive esophagitis and providing long-term control of GERD symptoms." John's Hopkins Medicine (undated) 

WHY DON’T DOCTORS TELL YOU THAT HERBS AND CERTAIN FOODS CAN ALSO HEAL?

For the most part, supplements have anecdotal claims, but little or no actual clinical evidence of their efficacy. More importantly, such trials also address safety. Not all supplements are effective or even safe for all people. Giving that vague advice would be irresponsible. "Although they are often labeled as “all-natural,” and safe, a researcher at Baylor College of Medicine says dietary supplements can cause potential health risks and serious side effects. In an article published in EMBO Reports, Dr. Donald Marcus, professor emeritus of medicine and immunology at Baylor, and Dr Arthur Grollman of Stony Brook University, wrote about the dangers of encouraging the use of all-natural dietary supplements made from herbal plants. The paper describes how this has become an international health hazard as The World Health Organization and China promote the safety and effectiveness of herbal medicines, despite evidence that they can cause adverse side effects, fatalities and have not been tested in clinical trials." Dusang (2021)

WHY DON’T DOCTORS TELL YOU TO LOWER TOXIC CHEMICALS IN YOUR HOME AND WHEN YOU HAVE CONSTANT HEADACHES AND ALLERGIES? (THESE FRAGRANCE & CHEMICALS CAUSE TOXIC BUILDUP IN OUR CELLS AND CAUSES MORE ALLERGIES AND HEADACHES)

Headaches can result from a variety of causes. In my family, migraine is an issue with a few of us. It's genetic. Importantly, "headaches can signal a more serious disorder that requires prompt medical care" National Institute of Health (undated). Just fobbing off a non-specific complaint like this could result in people having strokes and dying. 

WHY AREN’T YOU INFORMED BY YOUR DOCTOR THAT IF YOU EAT A GRAPEFRUIT EVERYDAY, IT WILL LOWER YOUR CHOLESTEROL NATURALLY AND YOU DON’T NEED [a pill] ? (THIS IS WHY A PERSON CAN’T EAT IT WHILE ON STATIN MEDS)

That's just bad advice. It can interfere with needed medication and can be dangerous by amplifying the effects of other medication. "Grapefruit's culprit chemical ... binds to an enzyme in your intestinal tract known as CYP3A4, which reduces the absorption of certain medications. When grapefruit juice blocks the enzyme, it's easier for the medication to pass from your gut to your bloodstream. Blood levels will rise faster and higher than normal, and in some cases the abnormally high levels can be dangerous." Health.Harvard.edu(2021)

WHY DOESN’T YOUR DOCTOR TELL YOU TO TAKE ACTIVATED CHARCOAL FOR HEADACHES, BLOATING/GAS, SKIN ISSUES, COLDS, FOOD POISONING? (ACTIVATED CHARCOAL BONDS WASTE/TOXINS FOR THE REMOVAL FROM THE BODY)

That is bad medical advice. Hopefully you see someone besides the nurse promoting this. "Pulmonary aspiration and a resulting aspiration pneumonitis are the most concerning risks of administration of activated charcoal. Aspiration from emesis and misplaced nasogastric tubes for activated charcoal administration can lead to severe respiratory compromise and even death."

WHY DON’T DOCTORS TELL YOU ABOUT HERBS AND HERBAL TEAS TO SUPPORT IMMUNE AND DIGESTIVE FUNCTIONS? (DIFFERENT HERBS HELP DIFFERENT ORGANS DO THEIR JOBS TO KEEP THE BODY HEALTHY)

See info from Dusang (2021) above about herbs and foods. 

WHY ISN’T YOUR DOCTOR SUGGESTING THAT YOU TAKE A PROBIOTIC DAILY? (THIS BOOST IMMUNE FUNCTION, HELPS CLEAN AND BALANCE THE BOWEL, HELPS REGULATE ABSORPTION AND ELIMINATION, KEEPS COLDS AND ALLERGIES AT BAY)

Again, this blanket advice is poor medical advice and can lead to serious health complications. "The risk of harmful effects from probiotics is greater in people with severe illnesses or compromised immune systems. When probiotics are being considered for high-risk individuals, such as premature infants or seriously ill hospital patients, the potential risks of probiotics should be carefully weighed against their benefits. Possible harmful effects of probiotics include infections, production of harmful substances by the probiotic microorganisms, and transfer of antibiotic resistance genes from probiotic microorganisms to other microorganisms in the digestive tract. Some probiotic products have been reported to contain microorganisms other than those listed on the label. In some instances, these contaminants may pose serious health risks." National Institutes of Health (undated)

WHY DON’T DOCTORS CREATE DIET/LIFESTYLE PLANS FOR PATIENTS INSTEAD OF OFFERING PILLS? (DIET & LIFESTYLE CHOICES ARE 90+% CAUSE OF ALL ILLNESS)

Doctors are the primary gatekeepers for real medications that have undergone clinical trials to demonstrate both effectiveness and safety. They are not dieticians or lifestyle coaches. 

WHY DON’T DOCTORS TELL YOU TO TAKE SUPPLEMENTS TO BOOST YOUR HEALTH PRIOR TO BECOMING SICK AND THEN THEY RECOMMEND PILLS (SUPPLEMENTST/HERBS/TINCTURES CAN PREVENT ILLNESS BY BOOSTING IMMUNE FUNCTION AND SUPPORTING ORGANS WITH THEIR NATURAL FUNCTIONS)

Again, see the notes about clinical trials and safety above.

I just can't dignify the rest, I am sorry. This is typical of the kind of inflammatory post that gets attention (mea culpa). It would be funny if it weren’t so sad. 

Finally:

WE JUST AREN’T GETTING THE RIGHT INFORMATION!!

Amen to that. I’m a big fan of irony. People listening to this alleged nurse should spend more time getting their information from credible sources. 


References

Dusang, Kaylee (2021) Baylor College of Medicine Are herbal supplements safe?

Health.Harvard.edu (2021) Grapefruit and medication: A cautionary note

Health.Harvard.edu (2023) Laxatives: What to know about choosing the right one [Reviewed by Howard E. LeWine, MD, Chief Medical Editor, Harvard Health Publishing]

John's Hopkins Medicine (undated) Barrett's Esophagus Treatment

National Institute of Health (undated) National Institute of Neurological Disorders and Stroke Headache

National Institutes of Health (undated) Probiotics: What You Need To Know

Silberman, Jason; Galuska, Michael A.; Taylor, Alan (2023) National Library of Medicine Activated Charcoal


Friday, September 1, 2023

Dr. Sabina Spielrein disappeared by the patriarchy

"Spielrein’s story is a case history of pathological patriarchy, anti-Semitism, Stalinism, Nazism, and genocide. It is also the story of an incredible pioneering thinker whose ideas were freely “borrowed” by the Great Men of Psychoanalysis whose followers conspired in defaming and demonizing Spielrein’s character and all traces of her subsequent 30-year history of intellectual and clinical work. To the extent to which Spielrein’s work was also feminist and female-centered, (or female-embodied), it constituted the forced disappearance of feminist knowledge which, as Australian scholar Dale Spender has so ably shown, has happened generation after generation, century after century. As a result, each feminist wave must continue reinventing the wheel of knowledge; few have broad shoulders upon which to stand." -- Raped By Carl Jung, Then Murdered by the Nazis by Phyllis Chesler Nov 07, 2017

https://www.tabletmag.com/sections/arts-letters/articles/sabina-spielrein-carl-jung


AI is Climbing the Wall -- Fast

  You said: Somebody is reporting the Ilya is saying that AI is hitting a wall due to diminishing returns on data size. I absolutely disagre...