How to Build Your Own Troll Bot Army

How to Build Your Own Troll Bot Army

You live in a war zone. You cannot see the enemy, you do not know when you are under attack, and you have no way to determine who has won any given battle on any given day. Since the consequences of any specific attack are intangible on a personal level, it’s hard to get people to take evasive action, let alone any kind of preemptive action.

In this war, it’s you against the bots and trolls. And, although you may not know it, you are being viciously attacked every day. To help you understand how, I am going to teach you (for informational purposes only) how to weaponize social media, and build your own troll farm. If you can read, copy, and paste, then you can do this. Let’s begin.

Bots and Trolls

In the past, a bot was software and a troll was a person. Today, using open source software and some inexpensive cloud services, you can create AI-troll/bot combinations and release armies of them at extremely low cost. This, as my good friend Col. John Fenzel (Ret.) says, helps perpetuate “a state of enduring social conflict enabled and empowered by social media.”

Bots Defined

A bot is a software application used to automatically execute commands, automatically respond to inputs, or some combination of both. If you’ve ever created a macro for Excel or Photoshop or written an AppleScript to automate processes on your computer, you’ve enjoyed the benefits of bot-style automation.

There are good bots and bad bots. A good bot might be used to test the code you’ve written for the login section of your new website. A bad bot might do exactly the same thing on someone else’s website using stolen credentials. Sadly, the technology for the good and for the bad is virtually identical.

Bad Bots

Let’s think about how you might weaponize a social media account using a bad bot. First, you need to create a valid social media account. That’s easy. Go to your favorite free email provider and create a new email account such as [email protected]. Use that account to create a new Twitter account, @badbot. Now let’s have some fun.

Headless Chrome

Google says, “Headless Chrome is a way to run the Chrome browser in a headless environment without the full browser UI.” Its highest, best purpose is to empower engineers to test their software. But for our nefarious purposes, Headless Chrome is a Chrome browser that we can run automatically (from our Bot) that is virtually indistinguishable from the Chrome browser you are probably using to read this on the Internet. Why? Because it “is” a Chrome browser. The difference is that you run Headless Chrome with software instead of by hand. Headless Chrome is available free from Google.

Puppeteer

Want to go a step further? Google says, “Most things that you can do manually in the browser can be done using Puppeteer!” This is an awesome automation tool. Want to learn to scrape a website automatically? Here’s a step-by-step article on Medium.

Bad Bot Behavior

Using the two free, best practices test tools I have outlined above along with Node.js (which enables JavaScript to be used for server-side scripting) and MongoDB (a database), let’s hypothetically go scrape a politically charged area on Reddit (we could do this for any site on the Internet) that espouses our hypothetical political ideology. We’ll code this bot to scrape for posts that include the words “Thomas Jefferson” and collect them in the database.

Next we’ll run our data through a sentiment engine such as Amazon Comprehend. Our goal is to find posts that match our sentiment criteria (for example, negative, positive, or neutral).

With the data evaluated and scored, we can use some open source Markov chain tools to craft tweets from these negative posts. They won’t all be brilliant witticisms espousing our political beliefs, but there will be lots of them and our point will be made.

Our final step is to build and deploy a multifunctional Twitter bot with this easy online instruction set from freecodecamp.org

Time to Launch an Attack

With your new web-scraping tool, you could look for the lowest prices on that new pair of skis you were thinking about, or you could look for propaganda, fake news, or anything else that might need support to become a trending social media topic.

With your new analysis tools, you can evaluate each piece of content (text or image) and let an AI or statistical machine learning tool-set craft your messages. With your new Twitter bot, you can send just the right number of tweets each day in order to fake Twitter into believing that your bot is a human. Now replicate this a few hundred thousand times.

Can you imagine how much more sophisticated this gets when highly paid professionals do this kind of work? While commanding a bot army may cost you a few hundred to a few thousand dollars per month, this type of troll farm is likely to yield exceptional political results.

There’s More

For bonus points, you can use 100 percent of the mar-tech tools available for hyper-targeted, programmatic advertising to ensure that your messages are reaching the right people at the right places at the right times. Combine troll farms, mar-tech, and AI, and as Mr. Miyagi says, “If do right, no can defense.”

This Is an Arms Race

This is an arms race. It will never end. At the moment, the bad guys (and it is unclear who they are) are winning because the good guys aren’t putting up much of a fight. Facebook, Twitter, Google, and other tier 1 tech companies are trying their best to identify what is real and what is fake, but AI is making it harder and harder to distinguish between a human and a machine.

What happens next? It’s time to get serious about this. You now have a good idea of what anyone can do with off-the-shelf technology. Let’s get everyone educated as quickly as possible so we can have substantive discussions about defense. Otherwise, we are doomed to fight an endless war of narrative vs. counternarrative until we enter the post-post-truth era.

Author’s note: This is not a sponsored post. I am the author of this article and it expresses my own opinions. I am not, nor is my company, receiving compensation for it.


Other Articles You May Enjoy

America: Divided We Stand, Together We Fall

An Open Letter to Elon Musk

What Is Blockchain?

Fake News: A Case Study

The Case for Responsible Innovation

The Death of the Internet: What Happens Now?

Messy Desks Are Perfectly Optimized

Why Lose-Lose Almost Always Beats Win-Win

TV’s Cry for Help

I’d Pay You $500,000 a Year, but You Can’t Do the Work

The 5 Jobs Robots Will Take First

How Do You See the Future?

About Shelly Palmer

Named LinkedIn’s #1 Voice in Technology for 2017Shelly Palmer is CEO of The Palmer Group, a strategic advisory, technology solutions and business development practice focused at the nexus of media and marketing with a special emphasis on machine learning and data-driven decision-making. He is Fox 5 New York's on-air tech and digital media expert, writes a weekly column for AdAge,and is a regular commentator on CNBC and CNN. Follow @shellypalmer or visit shellypalmer.com or subscribe to our daily email https://ow.ly/WsHcb

In other words, how to roll your own Twitter.

回复
Pierre Averous

Site Reliability Engineer at Theodo Cloud

6 年
Boris Mercier

Senior Vice President Marketing at Recover?

6 年

Do not appreciate the title

Lisa H.

Creative, Driven, Intelligent Administrative Professional

6 年

The ease with which these destructive armies can be amassed and weapon used is stunning and the damage the wreak on society even more so. But given the current governmental climate I see no incentive to stop it. If it were not for these armies, the 2016 election would have had a far different outcome.

回复

要查看或添加评论,请登录

Shelly Palmer的更多文章

  • The Famous “P&G Memo”

    The Famous “P&G Memo”

    Want to be a better strategic thinker? For most businesspeople, the time-tested P&G (Procter & Gamble) Memo is a great…

    7 条评论
  • Uber and Lyft Are Doomed

    Uber and Lyft Are Doomed

    Autonomous vehicles (AVs) are about to dramatically change the world of on-demand car services. Viewed through that…

    29 条评论
  • I Don’t Have Time for the Truth!

    I Don’t Have Time for the Truth!

    I was checking out my Twitter feed the other day and I came upon a tweet from Richard Dawkins. He is one of my favorite…

    2 条评论
  • You’re Worried about Facial Recognition? WTF?

    You’re Worried about Facial Recognition? WTF?

    In a rare show of bipartisan unity this past Wednesday, Republicans and Democrats on the House Oversight Committee…

    2 条评论
  • What is a Radio Brand?

    What is a Radio Brand?

    Cumulus Media confirmed that New York City’s iconic FM radio station 95.5 PLJ will sign off for the last time on…

    1 条评论
  • A “Duty of Care” for Facebook

    A “Duty of Care” for Facebook

    French regulators have recommended requiring a “duty of care” for big social networks, meaning social networks should…

    3 条评论
  • Digital Transformation Is Seriously Misnamed

    Digital Transformation Is Seriously Misnamed

    Our main business is helping big brands, big media, and big tech with their digital transformation journeys. This is an…

    8 条评论
  • An EPCOT for the 5th Industrial Revolution: Showcasing the Possible

    An EPCOT for the 5th Industrial Revolution: Showcasing the Possible

    In 1877 Thomas Edison invented the phonograph. He liked to demonstrate his device by allowing people to speak into the…

    1 条评论
  • Music by AI – A Warning Label Is Now Required

    Music by AI – A Warning Label Is Now Required

    Last week, The Verge asked the question, “AI is capable of making music, but does that make AI an artist?” Wow, is that…

    6 条评论
  • The Next Great Decoupling: AI Takes Control

    The Next Great Decoupling: AI Takes Control

    Last night I binge-watched the latest three episodes of Star Trek Discovery, which set up the season 2 finale – spoiler…

    211 条评论

社区洞察

其他会员也浏览了