NEW: Microsoft Vulnerabilities Report 2022 - Read the Findings of Our Annual Report Read Now

  • Partners
  • Support
  • Careers
  • English
    • Deutsch
    • français
    • español
    • 한국어
    • português
BeyondTrust
  • Products

    Privileged Password Management

    Discover, manage, audit, and monitor privileged accounts and credentials.

    • Password Safe
    • DevOps Secrets Safe
    • Privileged Access Discovery Application

    Endpoint Privilege Management

    Enforce least privilege across Windows, Mac, Linux, and Unix endpoints.

    • Windows and Mac
    • Unix and Linux
    • Active Directory Bridge

    Secure Remote Access

    Centrally manage remote access for service desks, vendors, and operators.

    • Remote Support
    • Privileged Remote Access
    • Privileged Access Discovery Application

    Cloud Security Management

    Automate the management of identities and assets across your multicloud footprint.

    • Cloud Privilege Broker

    BeyondInsight

    Experience the industry’s most innovative, comprehensive platform for privileged access management.

  • Solutions

    Use Cases

    • Cloud Security
    • Compliance
    • Cyber Insurance
    • Digital Transformation
    • Endpoint Security
    • Operational Technology
    • Ransomware
    • Service Desk Efficiency
    • Zero Trust

    Industry Applications

    • Financial Services
    • Government Agencies
    • Healthcare
    • Law Enforcement
    • Manufacturing
    • Schools & Universities

    Solutions

    The BeyondTrust Privileged Access Management portfolio is an integrated solution that provides visibility and control over all privileged accounts and users.

  • Resources

    Learn

    • Blog
    • Customer Stories
    • Competitor Comparisons
    • Datasheets
    • Demos
    • Glossary
    • Podcast
    • Whitepapers

    Attend

    • Events
    • Go Beyond
    • Training
    • Webinars

    Support

    • Changelog
    • Professional Services
    • Technical Documentation

    Universal Privilege Management

    Our innovative Universal Privilege Management approach secures every user, asset, and session across your entire enterprise.

  • Company
    • About
    • Leadership
    • Core Values
    • Partners
    • Careers
  • Watch Demo
  • Contact Sales

Cloud Integration: Amazon AWS + PowerBroker for Unix & Linux for Authorization and Command Control

June 21, 2018

  • Blog
  • Archive

blog-cloud-integration-amazon-aws-powerbroker-for-unix-linux.jpgPowerBroker for Unix & Linux (PBUL), BeyondTrust’s gold-standard solution for Unix/Linux privilege management, comes with a very powerful and flexible Policy Engine that enables organizations to satisfy even the most complex privileged access requirements. In this blog I will explain how that Policy Engine leverages an API for third-party solutions, such as cloud applications and DevOps tools, to enable full orchestration across an environment, in this case, Amazon AWS.

With PowerBroker, it’s possible to interface with Amazon AWS IAM in order to verify that users are properly authorized via a Role or a Group, or a specific permission, before allowing them to execute a specific command on a specific server. If an administrator wants to issue a command to restart a server instance in AWS, the PBUL Policy Engine can first verify that the user is a member of the appropriate permission Group, and that the user is authorized for the specific server instance. Other conditions can also be included, like time of day, the day of the week, the user’s location, and any other third-party solution scripted through PBUL policy.

In order to make this work, let’s look at the example below. First, we need to define a couple of sample groups in AWS IAM. Our sample user, McDavis, is a member of the DevOps Group. The groups are shown below (not his membership):

blog-pbul-aws.jpgThen, we use a simple test script (aws_test.sh) to our PowerBroker policy:

## The following user, mcdavis, is used to test AWS query.

## The following user, mcdavis, is used to test AWS query.
 if (user in { "mcdavis" } && basename(command) in { "aws_test.sh","aws_test"}) {
 # do not allow these commands to be delegated
 print ("user called aws_test.sh");
 if (basename(command) in { "aws_test.sh","aws_test"}) {
print ("command is aws_test.sh");
include '/etc/pb/aws_functions.conf';
 RetrieveAWS_Group();
 DELIM=",";
 AWSFIELDS=split(AWSDATA,DELIM);
 print(AWSFIELDS);
COUNT=0;
COUNTER=0;
TEST=split(AWSDATA, "\n");
for Lines in TEST {
TEST2=split(Lines, ",");
COUNT=length(TEST2);
COUNT2=( COUNT -1);
 while ( COUNTER <= COUNT2 ) {
 if ( TEST2[COUNTER] == "DevOps" ) {
 print("Congratulations - you are a member of the DevOps Group, so you are authorized to execute this command");
 COUNTER++;
 }
 else
 {
 COUNTER++;
 }
 } # End while
COUNT=0;
COUNTER=0;
} # End for
}
 accept("This is a restricted command aws_test.sh -- '" + basename(command) + "'.");
 }

When you execute the script as a part of a “test” policy, you are able to determine the AWS IAM group membership as shown below:

blog-pbul-aws-2.jpg

While this is a simplistic sample, it demonstrates three important things:

  1. The power of the PowerBroker for Unix & Linux scripting language to integrate into third-party solutions.
  2. The integration from PowerBroker for Unix & Linux to support group membership of AWS IAM users.
  3. The support of PowerBroker for Unix & Linux in DevOps and Cloud environments in support of next-generation technologies.

If you would like more information on how BeyondTrust can support Amazon AWS and next-generation initiatives, contact us today. You can also learn more about our technology partners.

Michel Bluteau, Sr. Technical Product Manager

Michel has been interfacing with many organizations in different verticals around the world, over the last decade, trying to capture Requirements and Use Cases in Identity Management, Compliance, and more recently Privileged Account Management. Michel’s expertise with various platforms including SAP, ServiceNow, .NET and Java, allows him to contribute to integration and share his experience and solutions. Recently, Michel has also been focusing on the User Experience and how to leverage Web Services API made available more and more for both on-premises and cloud based applications and platforms.

Stay Up To Date

Get the latest news, ideas, and tactics from BeyondTrust. You may unsubscribe at any time.

I agree to receive product related communications from BeyondTrust as detailed in the Privacy Policy, and I may manage my preferences or withdraw my consent at any time.

You May Also Be Interested In:

Whitepapers

Microsoft Vulnerabilities Report 2022

Whitepapers

Cybersecurity Insurance Checklist

Whitepapers

Privileged Access Management: PAM Checklist

Keep up with BeyondTrust

I agree to receive product related communications from BeyondTrust as detailed in the Privacy Policy, and I may manage my preferences or withdraw my consent at any time.

Customer Support
Contact Sales

Products

  • Endpoint Privilege Management
  • Password Management
  • Privileged Remote Access
  • DevOps Secrets Safe
  • Remote Support
  • Cloud Privilege Broker

Resources

  • Blog
  • Case Studies
  • Competitor Comparisons
  • Datasheets
  • Glossary
  • Podcast
  • Videos
  • Webcasts
  • Whitepapers

About

  • Company
  • Careers
  • Contact
  • Events
  • Leadership Team
  • Partner Program
  • Press
BeyondTrust Logo
  • Facebook
  • Twitter
  • LinkedIn
  • Privacy
  • Security
  • Manage Cookies
  • WEEE Compliance

Copyright © 1999 — 2022 BeyondTrust Corporation. All rights reserved. Other trademarks identified on this page are owned by their respective owners. BeyondTrust Corporation is not a chartered bank or trust company, or depository institution. It is not authorized to accept deposits or trust accounts and is not licensed or regulated by any state or federal banking authority.